forked from gitea/gitea
1
0
Fork 0
gitea/options
6543 ac0f452b30
Redirect on bad CSRF instead of presenting bad page (#14937) (#16378)
The current CSRF handler is a bit harsh with bad CSRF tokens on webpages
I think we can be a little kinder and redirect to base page with a flash error

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2021-07-08 20:12:20 +02:00
..
gitignore Add make targed generate-license & generate-gitignore + Update (#12682) 2020-09-02 12:57:08 -04:00
label Add label descriptions (#3662) 2018-03-13 10:03:55 +08:00
license [skip ci] Updated licenses and gitignores 2021-03-14 00:12:26 +00:00
locale Redirect on bad CSRF instead of presenting bad page (#14937) (#16378) 2021-07-08 20:12:20 +02:00
readme Bindata is optional and over-writable on restart (#354) 2016-12-22 19:12:23 +01:00