forgejo/services/auth
Lunny Xiao 6591f87b28
Fix login with email for ldap users (#18800) (#18836)
`authenticator.Authenticate` has assume the login name is not an email, but `username` maybe an email. So when we find the user via email address, we should use `user.LoginName` instead of `username` which is an email address.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-02-22 18:04:57 -05:00
..
source Fix ldap loginname (#18789) (#18804) 2022-02-22 14:33:06 +01:00
auth.go Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
auth_test.go Allow BASIC authentication access to /:owner/:repo/releases/download/* (#16916) 2021-09-02 16:48:48 +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 login with email for ldap users (#18800) (#18836) 2022-02-22 18:04:57 -05: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