diff --git a/app/lib/server/functions/checkUsernameAvailability.js b/app/lib/server/functions/checkUsernameAvailability.js index e881786805aa..064753575d59 100644 --- a/app/lib/server/functions/checkUsernameAvailability.js +++ b/app/lib/server/functions/checkUsernameAvailability.js @@ -8,7 +8,7 @@ let usernameBlackList = []; const toRegExp = (username) => new RegExp(`^${ s.escapeRegExp(username).trim() }$`, 'i'); settings.get('Accounts_BlockedUsernameList', (key, value) => { - usernameBlackList = value.split(',').map(toRegExp); + usernameBlackList = ['all', 'here'].concat(value.split(',')).map(toRegExp); }); const usernameIsBlocked = (username, usernameBlackList) => usernameBlackList.length