From d9fbc7fd9116591cb22c974d3f15cc2f5b2fd73e Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 5 Jul 2021 14:25:50 +0200 Subject: removed the requirements on the password for the UserForm --- newspipe/web/forms.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/newspipe/web/forms.py b/newspipe/web/forms.py index 71ebcd9c..ccc47a87 100644 --- a/newspipe/web/forms.py +++ b/newspipe/web/forms.py @@ -167,13 +167,7 @@ class UserForm(FlaskForm): lazy_gettext("Nickname"), [validators.Required(lazy_gettext("Please enter your nickname."))], ) - password = PasswordField( - lazy_gettext("Password"), - [ - validators.Required(lazy_gettext("Please enter a password.")), - validators.Length(min=20, max=500), - ], - ) + password = PasswordField(lazy_gettext("Password")) automatic_crawling = BooleanField(lazy_gettext("Automatic crawling"), default=True) submit = SubmitField(lazy_gettext("Save")) -- cgit