#11 passwords are now stored with aes-128 encryption
This commit is contained in:
parent
6bc87b605c
commit
5e29478516
6 changed files with 103 additions and 18 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue