gitea/routers/web/auth
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163)
* Remove `db.DefaultContext` usage in routers, use `ctx` directly

* Use `ctx` directly if there is one, remove some `db.DefaultContext` in `services`

* Use ctx instead of db.DefaultContext for `cmd` and some `modules` packages

* fix incorrect context usage
2022-03-22 16:22:54 +01:00
..
2fa.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
auth.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
linkaccount.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
main_test.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
oauth.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01: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 format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00