diff --git a/doorlockd.py b/doorlockd.py index 887bb88..e554327 100755 --- a/doorlockd.py +++ b/doorlockd.py @@ -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')