Set OpenIDC header in env file fixes #169
This commit is contained in:
Родитель
15e844dbb8
Коммит
2e2cc6b096
|
@ -1,5 +1,6 @@
|
|||
DEBUG=True
|
||||
HOSTNAME=
|
||||
OPENIDC_HEADER=HTTP_X_FORWARDED_USER
|
||||
SENTRY_DSN=
|
||||
SECRET_KEY=CIRCLE
|
||||
DB_NAME=postgres
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
DEBUG=False
|
||||
HOSTNAME=
|
||||
OPENIDC_HEADER=HTTP_X_FORWARDED_USER
|
||||
SENTRY_DSN=
|
||||
SECRET_KEY=SOMETHINGSECURE
|
||||
DB_NAME=postgres
|
||||
|
|
|
@ -118,7 +118,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
},
|
||||
]
|
||||
|
||||
OPENIDC_EMAIL_HEADER = 'HTTP_X_FORWARDED_USER'
|
||||
OPENIDC_EMAIL_HEADER = config('OPENIDC_HEADER')
|
||||
OPENIDC_AUTH_WHITELIST = (
|
||||
'experiments-list',
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче