bench-forgejo/services/auth
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
..
source Fix ldap loginname (#18789) 2022-02-18 17:33:00 +08:00
auth.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auth_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
basic.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01: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 jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
placeholder.go Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
reverseproxy.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
session.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
signin.go Fix login with email for ldap users (#18800) 2022-02-20 10:28:58 +00: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