diff options
author | Jef van Schendel <mail@jefvanschendel.nl> | 2011-12-29 22:54:31 +0100 |
---|---|---|
committer | Jef van Schendel <mail@jefvanschendel.nl> | 2011-12-29 22:54:31 +0100 |
commit | 4e9d467fc0b3dfc55db15e84d5d988cefa400fa1 (patch) | |
tree | 44c04d8ecbc64112bd90ded056056eacf63273a8 /mediagoblin/auth/forms.py | |
parent | dab1d70280652049078add60c6c44f675fbe267c (diff) | |
download | mediagoblin-4e9d467fc0b3dfc55db15e84d5d988cefa400fa1.tar.lz mediagoblin-4e9d467fc0b3dfc55db15e84d5d988cefa400fa1.tar.xz mediagoblin-4e9d467fc0b3dfc55db15e84d5d988cefa400fa1.zip |
Isolate JavaScript; add new show_password.js to forgot-password-page as well
Diffstat (limited to 'mediagoblin/auth/forms.py')
-rw-r--r-- | mediagoblin/auth/forms.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mediagoblin/auth/forms.py b/mediagoblin/auth/forms.py index 4cd3e9d8..5a707c7b 100644 --- a/mediagoblin/auth/forms.py +++ b/mediagoblin/auth/forms.py @@ -62,13 +62,7 @@ class ChangePassForm(wtforms.Form): password = wtforms.PasswordField( 'Password', [wtforms.validators.Required(), - wtforms.validators.Length(min=6, max=30), - wtforms.validators.EqualTo( - 'confirm_password', - 'Passwords must match.')]) - confirm_password = wtforms.PasswordField( - 'Confirm password', - [wtforms.validators.Required()]) + wtforms.validators.Length(min=6, max=30)]) userid = wtforms.HiddenField( '', [wtforms.validators.Required()]) |