gitea/services
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-10 17:32:37 +08:00
2022-01-02 21:12:35 +08:00
2021-12-12 23:48:20 +08:00
2022-01-14 16:03:31 +01:00
2022-01-14 16:03:31 +01:00
2021-12-12 23:48:20 +08:00
2021-12-10 16:14:24 +08:00
2022-01-05 15:00:20 -06:00
2022-01-10 17:32:37 +08:00