mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Set SESSION_COOKIE_SECURE=True for live.
This commit is contained in:
@@ -47,4 +47,4 @@ class ItsdangerousSessionInterface(SessionInterface):
|
|||||||
val = self.get_serializer(app).dumps(dict(session))
|
val = self.get_serializer(app).dumps(dict(session))
|
||||||
response.set_cookie(app.session_cookie_name, val,
|
response.set_cookie(app.session_cookie_name, val,
|
||||||
expires=expires, httponly=True,
|
expires=expires, httponly=True,
|
||||||
domain=domain)
|
domain=domain, secure=app.config.get('SESSION_COOKIE_SECURE'))
|
||||||
|
|||||||
Reference in New Issue
Block a user