0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-16 18:23:58 +01:00
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
..
2022-01-14 16:03:31 +01:00
2022-01-02 21:12:35 +08:00
2022-01-02 21:12:35 +08:00
2022-01-02 21:12:35 +08:00
2022-01-02 21:12:35 +08:00