Merge pull request #4 from nathanielksmith/master

allow 3 letter usernames
pull/16/head
Nathaniel Smith 2017-01-16 23:50:07 -08:00 committed by GitHub
commit 2cd15ac855
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_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_NAME_RE = re.compile(r"[a-zA-Z0-9_\-']+")
DISPLAY_MIN_LENGTH = 2 DISPLAY_MIN_LENGTH = 2