aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/auth/forms.py
diff options
context:
space:
mode:
authorJef van Schendel <mail@jefvanschendel.nl>2011-12-29 22:54:31 +0100
committerJef van Schendel <mail@jefvanschendel.nl>2011-12-29 22:54:31 +0100
commit4e9d467fc0b3dfc55db15e84d5d988cefa400fa1 (patch)
tree44c04d8ecbc64112bd90ded056056eacf63273a8 /mediagoblin/auth/forms.py
parentdab1d70280652049078add60c6c44f675fbe267c (diff)
downloadmediagoblin-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.py8
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()])