From 7214f114dbea5d18f1fe7251cf122b6a7a5f8ff2 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 5 May 2014 14:13:03 +0200 Subject: Remove a validator for the profile form. --- pyaggr3g470r/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyaggr3g470r/forms.py b/pyaggr3g470r/forms.py index 61cd4c2a..d89c3062 100644 --- a/pyaggr3g470r/forms.py +++ b/pyaggr3g470r/forms.py @@ -100,7 +100,7 @@ class ProfileForm(Form): firstname = TextField(lazy_gettext("First name"), [validators.Required(lazy_gettext("Please enter your first name."))]) lastname = TextField(lazy_gettext("Last name"), [validators.Required(lazy_gettext("Please enter your last name."))]) email = EmailField(lazy_gettext("Email"), [validators.Length(min=6, max=35), validators.Required(lazy_gettext("Please enter your email."))]) - password = PasswordField(lazy_gettext("Password"), [validators.Length(min=6, max=100)]) + password = PasswordField(lazy_gettext("Password")) submit = SubmitField(lazy_gettext("Save")) def __init__(self, *args, **kwargs): -- cgit