Lunny Xiao 00be0c1b21
Fix login with email for ldap users (#18800)
`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.
2022-02-20 10:28:58 +00:00
..
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-22 21:22:14 +00:00
2021-12-10 16:14:24 +08:00
2022-01-23 21:46:30 +08:00