0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 17:08:22 +01:00
gitea/services/auth
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
..
source Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
auth_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auth.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
basic.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
group.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
interface.go
oauth2.go Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01: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
sspi_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
sync.go