mirror of https://github.com/go-gitea/gitea
Redirect on bad CSRF instead of presenting bad page (#14937)
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>pull/16361/head^2
parent
fc1607b368
commit
d06f9ce274
Loading…
Reference in new issue