Removed now useless REGISTRATION_MODE setting

This commit is contained in:
Eliot Berriot 2018-02-24 12:21:02 +01:00
parent 3dd1a20b68
commit d1b5895b78
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 0 additions and 6 deletions

View File

@ -317,7 +317,6 @@ CORS_ORIGIN_ALLOW_ALL = True
# ) # )
CORS_ALLOW_CREDENTIALS = True CORS_ALLOW_CREDENTIALS = True
API_AUTHENTICATION_REQUIRED = env.bool("API_AUTHENTICATION_REQUIRED", True) API_AUTHENTICATION_REQUIRED = env.bool("API_AUTHENTICATION_REQUIRED", True)
REGISTRATION_MODE = env('REGISTRATION_MODE', default='disabled')
REST_FRAMEWORK = { REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': ( 'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAuthenticated', 'rest_framework.permissions.IsAuthenticated',

View File

@ -74,11 +74,6 @@ DJANGO_SECRET_KEY=
# If True, unauthenticated users won't be able to query the API # If True, unauthenticated users won't be able to query the API
API_AUTHENTICATION_REQUIRED=True API_AUTHENTICATION_REQUIRED=True
# What is the workflow for registration on funkwhale ? Possible values:
# public: anybody can register an account
# disabled: nobody can register an account
REGISTRATION_MODE=disabled
# Sentry/Raven error reporting (server side) # Sentry/Raven error reporting (server side)
# Enable Raven if you want to help improve funkwhale by # Enable Raven if you want to help improve funkwhale by
# automatically sending error reports our Sentry instance. # automatically sending error reports our Sentry instance.