gitea/services/auth
Lunny Xiao f5a3c0dd6c
Fix ldap loginname (#18789) (#18804)
* Use email_address table to check user's email when login with email adress

* Update services/auth/signin.go

* Fix test

* Fix test

* Fix logging in with ldap username != loginname

* Fix if user does not exist yet

* Make more clear this is loginName

* Fix formatting

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>

Co-authored-by: Johan Van de Wauw <johan@gisky.be>
Co-authored-by: zeripath <art27@cantab.net>
2022-02-22 14:33:06 +01:00
..
source Fix ldap loginname (#18789) (#18804) 2022-02-22 14:33:06 +01:00
auth_test.go Allow BASIC authentication access to /:owner/:repo/releases/download/* (#16916) 2021-09-02 16:48:48 +01:00
auth.go Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
basic.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08: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 auth package (#17962) 2022-01-02 21:12:35 +08:00
placeholder.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
reverseproxy.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
session.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
signin.go Fix ldap loginname (#18789) (#18804) 2022-02-22 14:33:06 +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