1
0
Fork 0
forgejo/services/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
..
source Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
auth.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auth_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
basic.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
group.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
interface.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
oauth2.go Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
placeholder.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
reverseproxy.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
session.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
signin.go Fix login with email panic when email is not exist (#18941) 2022-02-28 18:33:33 +01:00
source.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
sspi_windows.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
sync.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00