Enable CSRF middleware, hopefully this time it works

This commit is contained in:
fr33domlover 2018-07-01 04:51:43 +00:00
parent 9ed1f4c99d
commit 870123bfcc

View file

@ -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