Browse files

Change CSRF meta tag

  • Loading branch information...
1 parent 940c177 commit 2f9aaf933f6b96851d410ecd4d08c8804e605bed @ozataman ozataman committed Apr 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Snap/Auth/Splices.hs
View
4 src/Snap/Auth/Splices.hs
@@ -26,10 +26,10 @@ metaCSRFTag = do
param <- lift authAuthenticityTokenParam
let metaToken = X.Element "meta"
[ ("name", "csrf-token")
- , ("value", T.decodeUtf8 embeddedToken) ] []
+ , ("content", T.decodeUtf8 embeddedToken) ] []
let metaParam = X.Element "meta"
[ ("name", "csrf-param")
- , ("value", T.decodeUtf8 param) ] []
+ , ("content", T.decodeUtf8 param) ] []
return $ [metaParam, metaToken]

0 comments on commit 2f9aaf9

Please sign in to comment.