aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-09-18 15:17:25 +0800
committerGitHub <noreply@github.com>2024-09-18 15:17:25 +0800
commit1fede04b83288d8a91304a83b7601699bb5cba04 (patch)
tree14bbb3e790c8a6527d159ad1405894f0e05ad4dd /models/issues
parent55f1fcf0ad20d69fcd62c764f6da74ae56bd5f73 (diff)
downloadgitea-1fede04b83288d8a91304a83b7601699bb5cba04.tar.gz
gitea-1fede04b83288d8a91304a83b7601699bb5cba04.zip
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")
Diffstat (limited to 'models/issues')
0 files changed, 0 insertions, 0 deletions