This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
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
basic.go
group.go
interface.go
oauth2.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
placeholder.go
reverseproxy.go
session.go
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