aboutsummaryrefslogtreecommitdiff
path: root/newspipe
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2021-07-05 14:25:50 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2021-07-05 14:25:50 +0200
commitd9fbc7fd9116591cb22c974d3f15cc2f5b2fd73e (patch)
tree4472aec8744fc5a6287c472725d41f2440c1cc6f /newspipe
parentfixed name of protocol in the database URI configuration variable (diff)
downloadnewspipe-d9fbc7fd9116591cb22c974d3f15cc2f5b2fd73e.tar.gz
newspipe-d9fbc7fd9116591cb22c974d3f15cc2f5b2fd73e.tar.bz2
newspipe-d9fbc7fd9116591cb22c974d3f15cc2f5b2fd73e.zip
removed the requirements on the password for the UserForm
Diffstat (limited to 'newspipe')
-rw-r--r--newspipe/web/forms.py8
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"))
bgstack15