From 70d3bde14221fdf2bdf4a04016fe8852a090a389 Mon Sep 17 00:00:00 2001 From: nathaniel smith Date: Mon, 16 Jan 2017 23:49:16 -0800 Subject: [PATCH] allow 3 letter usernames --- ttadmin/users/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttadmin/users/forms.py b/ttadmin/users/forms.py index e5ea57b..fd9ef27 100644 --- a/ttadmin/users/forms.py +++ b/ttadmin/users/forms.py @@ -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