From: Christopher Allan Webber Date: Sun, 5 Jun 2011 20:33:07 +0000 (-0500) Subject: New password check error message X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b8fbd8179960f430b1ed3d6418946375c9efafd5;p=mediagoblin.git New password check error message --- 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()])