Bump version for CSRF logging changes, and improve error message.
This commit is contained in:
parent
28fbaae268
commit
5a5cfd6c7a
@ -1,3 +1,7 @@
|
||||
## 1.4.20.1
|
||||
|
||||
* Log a warning when a CSRF error occurs [#1200](https://github.com/yesodweb/yesod/pull/1200)
|
||||
|
||||
## 1.4.20
|
||||
|
||||
* `addMessage`, `addMessageI`, and `getMessages` functions
|
||||
|
||||
@ -1458,4 +1458,4 @@ validCsrf Nothing _param = True
|
||||
validCsrf (Just _token) Nothing = False
|
||||
|
||||
csrfErrorMessage :: Text
|
||||
csrfErrorMessage = "A valid CSRF token wasn't present in HTTP headers or POST parameters. Check the Yesod.Core.Handler docs of the yesod-core package for details on CSRF protection."
|
||||
csrfErrorMessage = "A valid CSRF token wasn't present in HTTP headers or POST parameters. Because the request could have been forged, it's been rejected altogether. Check the Yesod.Core.Handler docs of the yesod-core package for details on CSRF protection."
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: yesod-core
|
||||
version: 1.4.20
|
||||
version: 1.4.20.1
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman <michael@snoyman.com>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user