mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 20:31:54 +02:00
Fix #139: We now restrict some usernames from being used during signup
This commit is contained in:
parent
ae65190364
commit
4b69d64db2
3 changed files with 27 additions and 0 deletions
|
@ -385,3 +385,12 @@ CSRF_USE_SESSIONS = True
|
|||
|
||||
# Playlist settings
|
||||
PLAYLISTS_MAX_TRACKS = env.int('PLAYLISTS_MAX_TRACKS', default=250)
|
||||
|
||||
ACCOUNT_USERNAME_BLACKLIST = [
|
||||
'funkwhale',
|
||||
'root',
|
||||
'admin',
|
||||
'owner',
|
||||
'superuser',
|
||||
'staff',
|
||||
] + env.list('ACCOUNT_USERNAME_BLACKLIST', default=[])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue