mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-02-20 21:26:56 +00:00
Update RestrictedNames, add intent
This commit is contained in:
parent
6b858aede2
commit
951c339010
1 changed files with 366 additions and 364 deletions
|
@ -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…
Reference in a new issue