Browse Source

Добавлено скрытые символы в password input

pull/32/head
Artur Galyamov 2 years ago
parent
commit
f0ea52670c
  1. 5
      cms/forms.py

5
cms/forms.py

@ -11,8 +11,9 @@ class ArticleForm(forms.ModelForm):
class UserForm(forms.ModelForm):
password = forms.PasswordInput()
class Meta:
model = auth_models.User
fields = ('username', 'password',)
widgets = {
'password': forms.PasswordInput(),
}

Loading…
Cancel
Save