allow 3 letter usernames
This commit is contained in:
parent
6d38a4190f
commit
70d3bde142
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user