Merge pull request #915 from donalhunt/patch-1
redirect users back to TLS version of umap after 3rd party auth.
This commit is contained in:
commit
c1d7cd89da
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ SOCIAL_AUTH_OPENSTREETMAP_SECRET = 'xxx'
|
||||||
MIDDLEWARE += (
|
MIDDLEWARE += (
|
||||||
'social_django.middleware.SocialAuthExceptionMiddleware',
|
'social_django.middleware.SocialAuthExceptionMiddleware',
|
||||||
)
|
)
|
||||||
|
SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
|
||||||
SOCIAL_AUTH_RAISE_EXCEPTIONS = False
|
SOCIAL_AUTH_RAISE_EXCEPTIONS = False
|
||||||
SOCIAL_AUTH_BACKEND_ERROR_URL = "/"
|
SOCIAL_AUTH_BACKEND_ERROR_URL = "/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue