From 800f99b79c0bfa16fe8f8a30c0f18e977fa04662 Mon Sep 17 00:00:00 2001 From: kv Date: Tue, 4 Feb 2020 15:20:59 +0000 Subject: [PATCH] Update 'dashmachine/user_system/forms.py' Making change to 1 character minimum for username --- dashmachine/user_system/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 dashmachine/user_system/forms.py diff --git a/dashmachine/user_system/forms.py b/dashmachine/user_system/forms.py old mode 100755 new mode 100644 index 3edf26b..7372c67 --- a/dashmachine/user_system/forms.py +++ b/dashmachine/user_system/forms.py @@ -8,7 +8,7 @@ from wtforms.validators import DataRequired, Length class UserForm(FlaskForm): - username = StringField(validators=[DataRequired(), Length(min=4, max=120)]) + username = StringField(validators=[DataRequired(), Length(min=1, max=120)]) password = PasswordField(validators=[DataRequired(), Length(min=8, max=120)])