settings: make redirect_is_https configurable separate from prod

This commit is contained in:
radex 2023-08-18 15:28:57 +02:00
parent 6cd7ec529b
commit ee9e9becf5
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ REST_FRAMEWORK = {
SOCIAL_AUTH_HSWAW_KEY = env("CLIENT_ID") SOCIAL_AUTH_HSWAW_KEY = env("CLIENT_ID")
SOCIAL_AUTH_HSWAW_SECRET = env("SECRET") SOCIAL_AUTH_HSWAW_SECRET = env("SECRET")
SOCIAL_AUTH_REDIRECT_IS_HTTPS = PROD SOCIAL_AUTH_REDIRECT_IS_HTTPS = env("OAUTH_REDIRECT_IS_HTTPS", PROD)
SOCIAL_AUTH_JSONFIELD_ENABLED = True SOCIAL_AUTH_JSONFIELD_ENABLED = True