File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 886886# It must be placed after the SessionMiddleware
887887MIDDLEWARE += ("geonode.security.middleware.AuthenticateBasicAuthOrApiKeyMiddleware" ,)
888888
889- SESSION_COOKIE_SECURE = ast .literal_eval (os .environ .get ("SESSION_COOKIE_SECURE" , "False " ))
890- CSRF_COOKIE_SECURE = ast .literal_eval (os .environ .get ("CSRF_COOKIE_SECURE" , "False " ))
889+ SESSION_COOKIE_SECURE = ast .literal_eval (os .environ .get ("SESSION_COOKIE_SECURE" , "True " ))
890+ CSRF_COOKIE_SECURE = ast .literal_eval (os .environ .get ("CSRF_COOKIE_SECURE" , "True " ))
891891CSRF_COOKIE_HTTPONLY = ast .literal_eval (os .environ .get ("CSRF_COOKIE_HTTPONLY" , "False" ))
892892CORS_ALLOW_ALL_ORIGINS = ast .literal_eval (os .environ .get ("CORS_ALLOW_ALL_ORIGINS" , "False" ))
893893X_FRAME_OPTIONS = os .environ .get ("X_FRAME_OPTIONS" , "DENY" )
You can’t perform that action at this time.
0 commit comments