mirror of https://gitlab.com/bashrc2/epicyon
Allow nickname
parent
b38ec2649f
commit
b09eef99a0
2
utils.py
2
utils.py
|
|
@ -2539,7 +2539,7 @@ def _is_reserved_name(nickname: str) -> bool:
|
||||||
reserved_names: list[str] = (
|
reserved_names: list[str] = (
|
||||||
'users', 'accounts', 'profile', 'statuses', 'packs', 'backend',
|
'users', 'accounts', 'profile', 'statuses', 'packs', 'backend',
|
||||||
'search', 'channel', 'config', 'settings', 'credentials', 'apis',
|
'search', 'channel', 'config', 'settings', 'credentials', 'apis',
|
||||||
'http', 'https', 'ipfs', 'ipns', 'laravel', 'js', 'root', 'webmail',
|
'http', 'https', 'ipfs', 'ipns', 'laravel', 'root', 'webmail',
|
||||||
'mail', 'statistics'
|
'mail', 'statistics'
|
||||||
)
|
)
|
||||||
if nickname in reserved_names:
|
if nickname in reserved_names:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue