~cedric/newspipe

d9fbc7fd9116591cb22c974d3f15cc2f5b2fd73e — Cédric Bonhomme 2 months ago 020ec42
removed the requirements on the password for the UserForm
1 files changed, 1 insertions(+), 7 deletions(-)

M newspipe/web/forms.py
M newspipe/web/forms.py => newspipe/web/forms.py +1 -7
@@ 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"))