diff --git a/passbook/core/forms/authentication.py b/passbook/core/forms/authentication.py index 0e614a0a0..84b6335a4 100644 --- a/passbook/core/forms/authentication.py +++ b/passbook/core/forms/authentication.py @@ -91,4 +91,7 @@ class SignUpForm(forms.Form): class PasswordFactorForm(forms.Form): """Password authentication form""" - password = forms.CharField(widget=forms.PasswordInput(attrs={'placeholder': _('Password')})) + password = forms.CharField(widget=forms.PasswordInput(attrs={ + 'placeholder': _('Password'), + 'autofocus': 'autofocus' + }))