Skip to content

Commit 6ce9f32

Browse files
committed
Fixes #2564. Change to lax value for samesite cookies.
Otherwise, reports get swallowed if you're logged into GitHub, but not logged into webcompat.com (r=me, because this is a bad regression)
1 parent 2e90cb2 commit 6ce9f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def update_status_config(milestones_content):
126126
# use secure and samesite flags on session cookie otherwise
127127
if not LOCALHOST:
128128
SESSION_COOKIE_SECURE = True
129-
SESSION_COOKIE_SAMESITE = 'Strict'
129+
SESSION_COOKIE_SAMESITE = 'Lax'
130130

131131
# By default, we want to log CSP violations. See /csp-report in views.py.
132132
CSP_LOG = True

0 commit comments

Comments
 (0)