1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-22 06:19:38 +02:00

Custom registration disable message

This commit is contained in:
Sean Morley 2024-08-24 23:20:50 -04:00
parent 824fbcb42f
commit f237f480df
5 changed files with 7 additions and 5 deletions

View file

@ -169,6 +169,7 @@ REST_AUTH = {
}
DISABLE_REGISTRATION = getenv('DISABLE_REGISTRATION', 'False') == 'True'
DISABLE_REGISTRATION_MESSAGE = getenv('DISABLE_REGISTRATION_MESSAGE', 'Registration is disabled. Please contact the administrator if you need an account.')
STORAGES = {
"staticfiles": {