mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +01:00
Change minimum length of username string from 4 to 3
because of some users with 3 character usenames Signed-off-by: Thomas Schmid <thomas.schmid@oth-regensburg.de>
This commit is contained in:
parent
6a018b7290
commit
84d61c04db
@ -333,7 +333,7 @@ class Logic:
|
||||
|
||||
|
||||
class AuthenticationForm(FlaskForm):
|
||||
username = StringField('Username', [Length(min=4, max=25)])
|
||||
username = StringField('Username', [Length(min=3, max=25)])
|
||||
password = PasswordField('Password', [DataRequired()])
|
||||
open = SubmitField('Open')
|
||||
close = SubmitField('Close')
|
||||
|
Loading…
Reference in New Issue
Block a user