Removed now useless REGISTRATION_MODE setting
This commit is contained in:
parent
3dd1a20b68
commit
d1b5895b78
|
@ -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',
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue