diff --git a/django/contrib/auth/forms.py b/django/contrib/auth/forms.py
index 086acf3..10012b0 100644
a
|
b
|
class AuthenticationForm(forms.Form):
|
58 | 58 | username/password logins. |
59 | 59 | """ |
60 | 60 | 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)) |
62 | 62 | |
63 | 63 | def __init__(self, request=None, *args, **kwargs): |
64 | 64 | """ |
diff --git a/django/contrib/auth/tests/forms.py b/django/contrib/auth/tests/forms.py
index b691c56..c08a5aa 100644
a
|
b
|
False
|
88 | 88 | >>> form.non_field_errors() |
89 | 89 | [u'Please enter a correct username and password. Note that both fields are case-sensitive.'] |
90 | 90 | |
| 91 | # Check that the invalid password does not render |
| 92 | >>> print form['password'] |
| 93 | <input type="password" name="password" id="id_password" /> |
| 94 | |
91 | 95 | # The user is inactive. |
92 | 96 | |
93 | 97 | >>> data = { |