mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 20:20:44 +01:00
1fede04b83
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") |
||
---|---|---|
.. | ||
upload | ||
access_log.go | ||
api_org.go | ||
api_test.go | ||
api.go | ||
base_test.go | ||
base.go | ||
captcha.go | ||
context_cookie.go | ||
context_model.go | ||
context_request.go | ||
context_response.go | ||
context_template.go | ||
context_test.go | ||
context.go | ||
csrf.go | ||
org.go | ||
package.go | ||
pagination.go | ||
permission.go | ||
private.go | ||
repo.go | ||
response.go | ||
user.go | ||
utils.go | ||
xsrf_test.go | ||
xsrf.go |