From 946eb73bfda20ea54b6cac8c99014d0410d1d470 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Tue, 3 Apr 2018 22:44:57 +0100 Subject: Forget about CSRF, will fix tomorrow --- pysite/route_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pysite/route_manager.py') diff --git a/pysite/route_manager.py b/pysite/route_manager.py index 03587fb0..ee86c531 100644 --- a/pysite/route_manager.py +++ b/pysite/route_manager.py @@ -84,7 +84,7 @@ class RouteManager: self.app.before_request(self.https_fixing_hook) # Try to fix HTTPS issues - CSRF.init_app(self.app) # Set up CSRF protection + # CSRF.init_app(self.app) # Set up CSRF protection self.app.config["WTF_CSRF_CHECK_DEFAULT "] = False # We only want to protect specific routes def https_fixing_hook(self): -- cgit v1.2.3