Logo
Explore Gists Help
Sign In
Gitea-John71/Gitea
2
0
Fork 0
You've already forked Gitea
mirror of https://github.com/go-gitea/gitea.git synced 2026-08-08 03:09:15 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
ddacefa5d6485fc4faf3ec5810a2f394a36b4d43
Gitea/templates/user/auth
T
History
silverwind 42d294941c Replace CSRF cookie with CrossOriginProtection (#36183)
Removes the CSRF cookie in favor of
[`CrossOriginProtection`](https://pkg.go.dev/net/http#CrossOriginProtection)
which relies purely on HTTP headers.

Fixes: https://github.com/go-gitea/gitea/issues/11188
Fixes: https://github.com/go-gitea/gitea/issues/30333
Helps: https://github.com/go-gitea/gitea/issues/35107

TODOs:

- [x] Fix tests
- [ ] Ideally add tests to validates the protection

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-12-25 12:33:34 +02:00
..
activate_prompt.tmpl
…
activate.tmpl
…
captcha.tmpl
…
change_passwd_inner.tmpl
…
change_passwd.tmpl
…
forgot_passwd.tmpl
…
grant_error.tmpl
…
grant.tmpl
…
link_account.tmpl
…
oauth_container.tmpl
…
oidc_wellknown.tmpl
…
prohibit_login.tmpl
…
reset_passwd.tmpl
…
signin_inner.tmpl
…
signin_openid.tmpl
…
signin.tmpl
…
signup_inner.tmpl
…
signup_openid_connect.tmpl
…
signup_openid_navbar.tmpl
Introduce .secondary-nav and handle .page-content spacing universally (#29982)
2024-03-22 23:54:09 +00:00
signup_openid_register.tmpl
…
signup.tmpl
…
twofa_scratch.tmpl
…
twofa.tmpl
…
webauthn_error.tmpl
…
webauthn.tmpl
…
Powered by Gitea Version: 1.26.0 Page: 3895ms Template: 118ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Gists