Skip to content

Commit

Permalink
chg: [forms] Removed the check on the password length when signing-in.
Browse files Browse the repository at this point in the history
For the sign-up the password muste be between 20 and 500 characters,
except for accounts created via the command line interface.
Closes #64.
  • Loading branch information
cedricbonhomme committed Feb 28, 2024
1 parent 0826e58 commit be0b92f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion newspipe/web/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ class SigninForm(RedirectForm):
lazy_gettext("Password"),
[
validators.DataRequired(lazy_gettext("Please enter a password.")),
validators.Length(min=6, max=500),
],
)
submit = SubmitField(lazy_gettext("Log In"))
Expand Down

0 comments on commit be0b92f

Please sign in to comment.