How to clear password field after failed login?

Posted by Ignacio on Stack Overflow See other posts from Stack Overflow or by Ignacio
Published on 2010-03-21T14:22:09Z Indexed on 2010/03/21 14:31 UTC
Read the original article Hit count: 394

Filed under:
|

I'm using django.contrib.auth.views.login to log in users. When login is failed, the user and password fields get posted back to the form.

What's the proper way to clean those?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-login