Skip to content
This repository was archived by the owner on Jun 29, 2019. It is now read-only.

Commit 4df48fa

Browse files
committed
fixes #147
1 parent 860eb98 commit 4df48fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from api.error import ApiException, Error, ErrorCode
1515
from config import CRYPTO_KEY
1616

17-
USERNAME_REGEX = re.compile("[A-Za-z]{1}[A-Za-z0-9_-]{2,15}")
17+
USERNAME_REGEX = re.compile("[A-Za-z]{1}[A-Za-z0-9_-]{2,15}$")
1818
EMAIL_REGEX = re.compile(r"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$")
1919

2020

0 commit comments

Comments
 (0)