chore: apply suggestions from code review
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
This commit is contained in:
parent
82af854c4a
commit
c549379b7c
|
@ -122,7 +122,7 @@ legal_username(UserName) ->
|
||||||
-define(NUMBER, "0123456789").
|
-define(NUMBER, "0123456789").
|
||||||
-define(SPECIAL_CHARS, "!@#$%^&*()_+-=[]{}\"|;':,./<>?`~ ").
|
-define(SPECIAL_CHARS, "!@#$%^&*()_+-=[]{}\"|;':,./<>?`~ ").
|
||||||
-define(INVALID_PASSWORD_MSG, <<
|
-define(INVALID_PASSWORD_MSG, <<
|
||||||
"Bad username."
|
"Bad password. "
|
||||||
"At least two different kind of characters from groups of letters, numbers, and special characters. "
|
"At least two different kind of characters from groups of letters, numbers, and special characters. "
|
||||||
"For example, if password is composed from letters, it must contain at least one number or a special character."
|
"For example, if password is composed from letters, it must contain at least one number or a special character."
|
||||||
>>).
|
>>).
|
||||||
|
|
Loading…
Reference in New Issue