diff options
author | zeripath <art27@cantab.net> | 2021-07-08 14:57:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 15:57:24 +0200 |
commit | d06f9ce27452ec0b80d548242bf59d65f89952bf (patch) | |
tree | 4aa1997f067b0fa420aee731eb40bddbdfd1a5a8 /integrations/signup_test.go | |
parent | fc1607b3686a5c8c79b9a7853c065a68dcd5218b (diff) | |
download | gitea-d06f9ce27452ec0b80d548242bf59d65f89952bf.tar.gz gitea-d06f9ce27452ec0b80d548242bf59d65f89952bf.zip |
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>
Diffstat (limited to 'integrations/signup_test.go')
0 files changed, 0 insertions, 0 deletions