0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 20:34:07 +01:00
gitea/routers
wxiaoguang 1fede04b83
Refactor CSRF protector (#32057)
Remove unused CSRF options, decouple "new csrf protector" and "prepare"
logic, do not redirect to home page if CSRF validation falis (it
shouldn't happen in daily usage, if it happens, redirecting to home
doesn't help either but just makes the problem more complex for "fetch")
2024-09-18 15:17:25 +08:00
..
api
common
install
private
utils
web Refactor CSRF protector (#32057) 2024-09-18 15:17:25 +08:00
init.go