Fixed login username regex
This commit is contained in:
parent
026f835a87
commit
896738dc22
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ import Spinner from '../../atoms/spinner/Spinner';
|
|||
|
||||
import CinnySvg from '../../../../public/res/svg/cinny.svg';
|
||||
|
||||
const USERNAME_REGEX = /^[a-z0-9_-]+$/;
|
||||
const USERNAME_REGEX = /^[a-z0-9_\-.=/]+$/;
|
||||
const BAD_USERNAME_ERROR = 'Username must contain only lowercase letters, numbers, dashes and underscores.';
|
||||
|
||||
const PASSWORD_REGEX = /.+/;
|
||||
|
|
Loading…
Reference in a new issue