mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 09:22:42 +08:00
patch: fix azure-ad,github callback
This commit is contained in:
@@ -66,7 +66,7 @@ func handleGithubCallback(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
}
|
||||
user, err := logic.GetUser(content.Email)
|
||||
user, err := logic.GetUser(content.Login)
|
||||
if err != nil {
|
||||
handleOauthUserNotFound(w)
|
||||
return
|
||||
|
Reference in New Issue
Block a user