Skip to content

Commit cec2c49

Browse files
committed
update
1 parent 0616197 commit cec2c49

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

diary_app/forms.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ class PasswordChangeCustomForm(PasswordChangeForm):
4646
error_messages = {'password_incorrect':
4747
"message here"}
4848

49-
old_password = forms.CharField(required=False, label='old_password',
50-
widget=PasswordInput(attrs={
51-
'class': 'form-control'}),)
52-
53-
new_password1 = forms.CharField(required=False, label='new_password1',
54-
widget=PasswordInput(attrs={
55-
'class': 'form-control'}),)
56-
new_password2 = forms.CharField(required=False, label='new_password2',
57-
widget=PasswordInput(attrs={
58-
'class': 'form-control'}),)
49+
old_password = forms.CharField(required=False, label='old_password')
50+
new_password1 = forms.CharField(required=False, label='new_password1')
51+
new_password2 = forms.CharField(required=False, label='new_password2')

0 commit comments

Comments
 (0)