Enable CSRF middleware, hopefully this time it works
This commit is contained in:
parent
9ed1f4c99d
commit
870123bfcc
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ instance Yesod App where
|
||||||
-- b) Validates that incoming write requests include that token in either a header or POST parameter.
|
-- 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.
|
-- For details, see the CSRF documentation in the Yesod.Core.Handler module of the yesod-core package.
|
||||||
yesodMiddleware =
|
yesodMiddleware =
|
||||||
-- defaultCsrfMiddleware .
|
defaultCsrfMiddleware .
|
||||||
-- sslOnlyMiddleware 120 .
|
-- sslOnlyMiddleware 120 .
|
||||||
defaultYesodMiddleware
|
defaultYesodMiddleware
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue