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)])