gitea/services/auth/source
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518)
* Move organization related structs into sub package

* Fix test

* Fix lint

* Move more functions into sub packages

* Fix bug

* Fix test

* Update models/organization/team_repo.go

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>

* Apply suggestions from code review

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>

* Fix fmt

* Follow suggestion from @Gusted

* Fix test

* Fix test

* Fix bug

* Use ctx but db.DefaultContext on routers

* Fix bug

* Fix bug

* fix bug

* Update models/organization/team_user.go

* Fix bug

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-03-29 14:29:02 +08:00
..
db Increase Salt randomness (#18179) 2022-01-04 15:13:52 +00:00
ldap Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
oauth2 Use `ImagedProvider` for gplus oauth2 provider (#18504) 2022-02-01 01:02:56 +01:00
pam Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
smtp format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
sspi Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00