Ticket #13316: authform.diff

File authform.diff, 581 bytes (added by Wil Clouser, 15 years ago)

pass render_value=False to PasswordInput

  • django/contrib/auth/forms.py

     
    5858    username/password logins.
    5959    """
    6060    username = forms.CharField(label=_("Username"), max_length=30)
    61     password = forms.CharField(label=_("Password"), widget=forms.PasswordInput)
     61    password = forms.CharField(label=_("Password"), widget=forms.PasswordInput(render_value=False))
    6262
    6363    def __init__(self, request=None, *args, **kwargs):
    6464        """
Back to Top