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:
Thomas Schmid 2018-04-11 23:49:44 +02:00 committed by Ralf Ramsauer
parent 6a018b7290
commit 84d61c04db
1 changed files with 1 additions and 1 deletions

View File

@ -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')