0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-13 14:54:38 +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 Check if the due_date is nil when editing issues (#32035) 2024-09-14 12:40:36 -04:00
common
install Save initial signup information for users to aid in spam prevention (#31852) 2024-09-09 17:05:16 -04:00
private
utils
web Refactor CSRF protector (#32057) 2024-09-18 15:17:25 +08:00
init.go