aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-05 14:13:03 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-05 14:13:03 +0200
commit7214f114dbea5d18f1fe7251cf122b6a7a5f8ff2 (patch)
tree9901a4db907bf883fbdb62a69fbb57c618a07b44 /pyaggr3g470r
parentImproved make_valid_nickname function. (diff)
downloadnewspipe-7214f114dbea5d18f1fe7251cf122b6a7a5f8ff2.tar.gz
newspipe-7214f114dbea5d18f1fe7251cf122b6a7a5f8ff2.tar.bz2
newspipe-7214f114dbea5d18f1fe7251cf122b6a7a5f8ff2.zip
Remove a validator for the profile form.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/forms.py2
1 files changed, 1 insertions, 1 deletions
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):
bgstack15