forgejo/routers/web/auth
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337)
Do a refactoring to the CSRF related code, remove most unnecessary functions.
Parse the generated token's issue time, regenerate the token every a few minutes.
2022-04-08 13:21:05 +08:00
..
2fa.go
auth.go Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 2022-04-08 13:21:05 +08:00
linkaccount.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
main_test.go
oauth.go Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 2022-04-08 13:21:05 +08:00
oauth_test.go Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
openid.go Use base32 for 2FA scratch token (#18384) 2022-01-26 12:10:10 +08:00
password.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
webauthn.go Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00