From 9e4aeac16dc047d286f4ccc7aea0a90d0fd06803 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sun, 17 Oct 2021 16:00:02 +0200 Subject: [PATCH] Remove WTF_CSRF_SSL_STRICT workaround for missing referrers --- cps/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cps/__init__.py b/cps/__init__.py index a8d6233b..771abda7 100644 --- a/cps/__init__.py +++ b/cps/__init__.py @@ -72,6 +72,7 @@ app.config.update( SESSION_COOKIE_HTTPONLY=True, SESSION_COOKIE_SAMESITE='Lax', REMEMBER_COOKIE_SAMESITE='Lax', # will be available in flask-login 0.5.1 earliest + WTF_CSRF_SSL_STRICT=False )