allow 3 letter usernames

pull/4/head
nathaniel smith 2017-01-16 23:49:16 -08:00
parent 6d38a4190f
commit 70d3bde142
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ throttle_submission = throttler(submission_throttle)
USERNAME_RE = re.compile(r'[a-z][a-z0-9_]+')
USERNAME_MIN_LENGTH = 4
USERNAME_MIN_LENGTH = 3
DISPLAY_NAME_RE = re.compile(r"[a-zA-Z0-9_\-']+")
DISPLAY_MIN_LENGTH = 2