1
0
Fork 1
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:
Daniel Supernault 2024-05-24 23:16:04 -06:00
parent 6b858aede2
commit 951c339010
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -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')));
}