From 870123bfcc3ccd5d7e64dc31d15c665567749e4f Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Sun, 1 Jul 2018 04:51:43 +0000 Subject: [PATCH] Enable CSRF middleware, hopefully this time it works --- src/Vervis/Foundation.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vervis/Foundation.hs b/src/Vervis/Foundation.hs index e9b0219..ddd3cbf 100644 --- a/src/Vervis/Foundation.hs +++ b/src/Vervis/Foundation.hs @@ -108,7 +108,7 @@ instance Yesod App where -- b) Validates that incoming write requests include that token in either a header or POST parameter. -- For details, see the CSRF documentation in the Yesod.Core.Handler module of the yesod-core package. yesodMiddleware = - -- defaultCsrfMiddleware . + defaultCsrfMiddleware . -- sslOnlyMiddleware 120 . defaultYesodMiddleware