From 34d714c4ec29e8a30ceeadd0b7b678ff0c7fa9c9 Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Thu, 18 May 2023 16:29:18 -0500 Subject: [PATCH] chore: remove gather from CRSF_TRUSTED_ORIGINS (#5657) --- ietf/settings.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ietf/settings.py b/ietf/settings.py index 00e7f292f..092898abe 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -315,7 +315,12 @@ UTILS_LOGGER_LEVELS: Dict[str, str] = { X_FRAME_OPTIONS = 'SAMEORIGIN' -CSRF_TRUSTED_ORIGINS = ['ietf.org', '*.ietf.org', 'meetecho.com', '*.meetecho.com', 'gather.town', '*.gather.town', ] +CSRF_TRUSTED_ORIGINS = [ + 'ietf.org', + '*.ietf.org', + 'meetecho.com', + '*.meetecho.com', +] CSRF_COOKIE_SAMESITE = 'None' CSRF_COOKIE_SECURE = True