New password check error message
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 5 Jun 2011 20:33:07 +0000 (15:33 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 5 Jun 2011 20:33:07 +0000 (15:33 -0500)
mediagoblin/auth/forms.py

index db8aaceb4351f5f54e15df2a266737a76f115adb..7bc0aeb1325bef118ca83b9107bad7ecb3b876b2 100644 (file)
@@ -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()])