Skip to content

Commit

Permalink
set cookie samesite (#1708)
Browse files Browse the repository at this point in the history
  • Loading branch information
sastels authored Nov 8, 2023
1 parent 25adbba commit 3a87e19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class Config(object):
SESSION_COOKIE_NAME = "notify_admin_session"
SESSION_COOKIE_SECURE = True
SESSION_REFRESH_EACH_REQUEST = True
SESSION_COOKIE_SAMESITE = "Lax"
SENSITIVE_SERVICES = os.environ.get("SENSITIVE_SERVICES", "")
SHOW_STYLEGUIDE = env.bool("SHOW_STYLEGUIDE", True)

Expand Down

0 comments on commit 3a87e19

Please sign in to comment.