1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-21 13:59:36 +02:00

Disable registration

This commit is contained in:
Sean Morley 2024-08-16 10:59:31 -04:00
parent a48b2bf752
commit fa35526cd1
3 changed files with 15 additions and 1 deletions

View file

@ -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",