mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-21 13:59:36 +02:00
Disable registration
This commit is contained in:
parent
a48b2bf752
commit
fa35526cd1
3 changed files with 15 additions and 1 deletions
|
@ -161,6 +161,8 @@ REST_AUTH = {
|
|||
'PASSWORD_RESET_SERIALIZER': 'users.serializers.MyPasswordResetSerializer'
|
||||
}
|
||||
|
||||
DISABLE_REGISTRATION = getenv('DISABLE_REGISTRATION', 'False') == 'True'
|
||||
|
||||
STORAGES = {
|
||||
"staticfiles": {
|
||||
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue