diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2021-07-05 14:25:50 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2021-07-05 14:25:50 +0200 |
commit | d9fbc7fd9116591cb22c974d3f15cc2f5b2fd73e (patch) | |
tree | 4472aec8744fc5a6287c472725d41f2440c1cc6f | |
parent | fixed name of protocol in the database URI configuration variable (diff) | |
download | newspipe-d9fbc7fd9116591cb22c974d3f15cc2f5b2fd73e.tar.gz newspipe-d9fbc7fd9116591cb22c974d3f15cc2f5b2fd73e.tar.bz2 newspipe-d9fbc7fd9116591cb22c974d3f15cc2f5b2fd73e.zip |
removed the requirements on the password for the UserForm
-rw-r--r-- | newspipe/web/forms.py | 8 |
1 files changed, 1 insertions, 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")) |