mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-18 06:47:01 +08:00
username validation
This commit is contained in:
parent
74f4f8fc9c
commit
8c377cca58
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ function isUsernameValid(name) {
|
|||
if (/miodec/.test(name.toLowerCase())) return false;
|
||||
//sorry for the bad words
|
||||
if (
|
||||
/bitly|fuck|bitch|shit|pussy|nigga|niqqa|niqqer|nigger|ni99a|ni99er|niga|niger|cunt|faggot|retard/.test(
|
||||
/bitly|fuck|bitch|shit|pussy|nigga|niqqa|niqqer|nigger|ni99a|ni99er|niggas|niga|niger|cunt|faggot|retard/.test(
|
||||
name.toLowerCase()
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue