mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-15 18:10:50 +08:00
00be0c1b21
`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. |
||
---|---|---|
.. | ||
source | ||
auth_test.go | ||
auth.go | ||
basic.go | ||
group.go | ||
interface.go | ||
oauth2.go | ||
placeholder.go | ||
reverseproxy.go | ||
session.go | ||
signin.go | ||
source.go | ||
sspi_windows.go | ||
sync.go |