This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user