From 86ff8c0409449d023120e777d84c077725092271 Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Sun, 30 Dec 2018 09:45:58 +0100 Subject: [PATCH] disabled WTF_CSRF_SSL_STRICT because of missing referrer --- app/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/__init__.py b/app/__init__.py index 3e130fc..fe59e13 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -8,6 +8,7 @@ cp = CSRFProtect() def create_app(): app = Flask(__name__) app.config['SECRET_KEY'] = 'SECRET_KEY' + app.config['WTF_CSRF_SSL_STRICT'] = False app.register_blueprint(index) cp.init_app(app) return app