feat: add support for magic link login (#65)

* feat: add support for magic link login

* update readme
This commit is contained in:
Lakhan Samani
2021-11-12 05:22:03 +05:30
committed by GitHub
parent 7b25a1f6c1
commit 57dd982e97
12 changed files with 316 additions and 4 deletions

View File

@@ -208,7 +208,7 @@ func OAuthCallbackHandler() gin.HandlerFunc {
signupMethod := existingUser.SignupMethod
if !strings.Contains(signupMethod, provider) {
signupMethod = signupMethod + "," + enum.Github.String()
signupMethod = signupMethod + "," + provider
}
user.SignupMethod = signupMethod
user.Password = existingUser.Password