aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/auth/forms.py
diff options
context:
space:
mode:
authorJef van Schendel <jefvanschendel@gmail.com>2011-06-06 14:46:56 +0200
committerJef van Schendel <jefvanschendel@gmail.com>2011-06-06 14:46:56 +0200
commitec8f66bd650e580eae67ad97fbc81776365d84f2 (patch)
tree499c0c5ef2868c8f3de724133a9f468122c79589 /mediagoblin/auth/forms.py
parentf4b2bd93f2f9c0f5fbef5214b2fe97912857b175 (diff)
parent3aa4c668b9bfe53ed58d4ae21ed91210df7ad9ff (diff)
downloadmediagoblin-ec8f66bd650e580eae67ad97fbc81776365d84f2.tar.lz
mediagoblin-ec8f66bd650e580eae67ad97fbc81776365d84f2.tar.xz
mediagoblin-ec8f66bd650e580eae67ad97fbc81776365d84f2.zip
Merge remote-tracking branch 'gitorious/master'
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()])