This commit is contained in:
parent
42efbc232b
commit
02deafa879
|
@ -33,7 +33,7 @@ func IsRegisteredResolver(ctx context.Context, email string) (*model.Response, e
|
|||
} else {
|
||||
log.Debug("Found user by email: ", existingUser)
|
||||
if existingUser != nil {
|
||||
if strings.Contains(existingUser.SignupMethods, "magic") && !strings.Contains(existingUser.SignupMethods, "basic") {
|
||||
if existingUser.SignupMethods == "magic_link_login" {
|
||||
res.Message = "registered"
|
||||
} else if existingUser.EmailVerifiedAt != nil {
|
||||
res.Message = "verified"
|
||||
|
|
Loading…
Reference in New Issue
Block a user