mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-12 13:20:43 -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))
|
||||
response.set_cookie(app.session_cookie_name, val,
|
||||
expires=expires, httponly=True,
|
||||
domain=domain)
|
||||
domain=domain, secure=app.config.get('SESSION_COOKIE_SECURE'))
|
||||
|
||||
Reference in New Issue
Block a user