Update RestrictedNames, add intent

pull/5109/head
Daniel Supernault 1 year ago
parent 6b858aede2
commit 951c339010
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -194,6 +194,7 @@ class RestrictedNames
'headers',
'home',
'help',
'help.center',
'helpcenter',
'help-center',
'help_center',
@ -212,6 +213,7 @@ class RestrictedNames
'invites',
'import',
'imports',
'intent',
'j',
'join',
'js',
@ -363,7 +365,7 @@ class RestrictedNames
{
$banned = [];
if(config('instance.username.banned')) {
if (config('instance.username.banned')) {
$banned = array_map('trim', explode(',', config('instance.username.banned')));
}

Loading…
Cancel
Save