gitea/services/auth/source
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
..
db Increase Salt randomness (#18179) 2022-01-04 15:13:52 +00:00
ldap Fix ldap loginname (#18789) (#18804) 2022-02-22 14:33:06 +01:00
oauth2 Use ImagedProvider for gplus oauth2 provider (#18504) (#18505) 2022-02-01 10:45:58 +08:00
pam Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
smtp Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
sspi Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00