gitea/services/auth
Johan Van de Wauw 0cc2675c44
Fix ldap loginname (#18789)
* 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>
2022-02-18 17:33:00 +08:00
..
source Fix ldap loginname (#18789) 2022-02-18 17:33:00 +08: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 ldap loginname (#18789) 2022-02-18 17:33:00 +08: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