#11 passwords are now stored with aes-128 encryption

This commit is contained in:
Uwe Kamper 2013-10-27 21:13:41 +01:00
parent 6bc87b605c
commit 5e29478516
6 changed files with 103 additions and 18 deletions

View file

@ -10,7 +10,8 @@ from django.utils.translation import ugettext as _
class LoginForm(forms.Form):
username = forms.CharField(max_length=255)
password = forms.CharField(max_length=255, widget=forms.PasswordInput)
password = forms.CharField(max_length=255, widget=forms.PasswordInput,
help_text=_('Cookies must be enabled.'))
def clean(self):
username = self.cleaned_data.get('username')