fix(blacklist): Sure up blacklisted usernames
This commit is contained in:
committed by
mrugesh mohapatra
parent
ee59047097
commit
9a3dd5cfd3
@ -1,13 +1,25 @@
|
|||||||
|
let alphabet = '';
|
||||||
|
|
||||||
|
for (let i = 0; i < 26; i++) {
|
||||||
|
alphabet = alphabet.concat(String.fromCharCode(97 + i));
|
||||||
|
}
|
||||||
|
|
||||||
export const blacklistedUsernames = [
|
export const blacklistedUsernames = [
|
||||||
|
...alphabet.split(''),
|
||||||
'about',
|
'about',
|
||||||
|
'academic-honesty',
|
||||||
'account',
|
'account',
|
||||||
'agile',
|
'agile',
|
||||||
|
'all-stories',
|
||||||
'api',
|
'api',
|
||||||
|
'backend-challenge-completed',
|
||||||
'bonfire',
|
'bonfire',
|
||||||
'cats.json',
|
'cats.json',
|
||||||
'challenge',
|
'challenge',
|
||||||
|
'challenge-completed',
|
||||||
'challenges',
|
'challenges',
|
||||||
'chat',
|
'chat',
|
||||||
|
'coding-bootcamp-cost-calculator',
|
||||||
'completed-bonfire',
|
'completed-bonfire',
|
||||||
'completed-challenge',
|
'completed-challenge',
|
||||||
'completed-field-guide',
|
'completed-field-guide',
|
||||||
@ -23,6 +35,7 @@ export const blacklistedUsernames = [
|
|||||||
'get-help',
|
'get-help',
|
||||||
'get-pai',
|
'get-pai',
|
||||||
'guide',
|
'guide',
|
||||||
|
'how-nonprofit-projects-work',
|
||||||
'internal',
|
'internal',
|
||||||
'jobs',
|
'jobs',
|
||||||
'jobs-form',
|
'jobs-form',
|
||||||
@ -30,23 +43,33 @@ export const blacklistedUsernames = [
|
|||||||
'login',
|
'login',
|
||||||
'logout',
|
'logout',
|
||||||
'map',
|
'map',
|
||||||
|
'modern-challenge-completed',
|
||||||
'news',
|
'news',
|
||||||
'nonprofits',
|
'nonprofits',
|
||||||
'nonprofits',
|
|
||||||
'nonproifts-form',
|
'nonproifts-form',
|
||||||
'open-api',
|
'open-api',
|
||||||
|
'pmi-acp-agile-project-managers',
|
||||||
|
'pmi-acp-agile-project-managers-form',
|
||||||
'privacy',
|
'privacy',
|
||||||
'privacy',
|
'privacy',
|
||||||
|
'project-completed',
|
||||||
'reset',
|
'reset',
|
||||||
'services',
|
'services',
|
||||||
'signin',
|
'signin',
|
||||||
'signout',
|
'signout',
|
||||||
'sitemap.xml',
|
'sitemap.xml',
|
||||||
|
'software-resources-for-nonprofits',
|
||||||
'stories',
|
'stories',
|
||||||
'terms',
|
'terms',
|
||||||
|
'the-fastest-web-page-on-the-internet',
|
||||||
'twitch',
|
'twitch',
|
||||||
'unsubscribe',
|
'unsubscribe',
|
||||||
'unsubscribed',
|
'unsubscribed',
|
||||||
|
'update-my-portfolio',
|
||||||
|
'update-my-profile-ui',
|
||||||
|
'update-my-projects',
|
||||||
|
'update-my-theme',
|
||||||
|
'update-my-username',
|
||||||
'user',
|
'user',
|
||||||
'wiki'
|
'wiki'
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user