Change minimum comment length to 1 character

Comments like "yes", "no" or 😈 wouldn't be available to post either.
This commit is contained in:
Xevion
2022-03-29 21:16:12 -05:00
parent 66715ecc72
commit 58861acd3d

View File

@@ -31,4 +31,4 @@ class NewPostForm(FlaskForm):
class NewCommentForm(FlaskForm):
text = StringField('Text', [validators.Length(min=5, max=50), NoProfanity()])
text = StringField('Text', [validators.Length(min=1, max=50), NoProfanity()])