aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/auth/forms.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-06-05 15:33:07 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-06-05 15:33:07 -0500
commitb8fbd8179960f430b1ed3d6418946375c9efafd5 (patch)
tree5ff1d455c6d2c801b0193792afef206e079da09e /mediagoblin/auth/forms.py
parent651403f02553da25a8e611804ce36ac92bbaa8cd (diff)
downloadmediagoblin-b8fbd8179960f430b1ed3d6418946375c9efafd5.tar.lz
mediagoblin-b8fbd8179960f430b1ed3d6418946375c9efafd5.tar.xz
mediagoblin-b8fbd8179960f430b1ed3d6418946375c9efafd5.zip
New password check error message
Diffstat (limited to 'mediagoblin/auth/forms.py')
-rw-r--r--mediagoblin/auth/forms.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mediagoblin/auth/forms.py b/mediagoblin/auth/forms.py
index db8aaceb..7bc0aeb1 100644
--- a/mediagoblin/auth/forms.py
+++ b/mediagoblin/auth/forms.py
@@ -27,7 +27,9 @@ class RegistrationForm(wtforms.Form):
'Password',
[wtforms.validators.Required(),
wtforms.validators.Length(min=6, max=30),
- wtforms.validators.EqualTo('confirm_password')])
+ wtforms.validators.EqualTo(
+ 'confirm_password',
+ 'Passwords must match.')])
confirm_password = wtforms.PasswordField(
'Confirm password',
[wtforms.validators.Required()])