This commit is contained in:
苏尹岚
2021-04-12 11:40:49 +08:00
parent e802d32dc0
commit 4ab7a3cb34

View File

@@ -192,7 +192,7 @@ func RegisterUserWithMobile(ctx *jxcontext.Context, user *model.User, mobileVeri
// } // }
} }
} else if inAuthInfo != nil { } else if inAuthInfo != nil {
user.Mobile = nil // user.Mobile = nil
} else { } else {
return nil, fmt.Errorf("短信验证码与其它认证方式至少要指定一种") return nil, fmt.Errorf("短信验证码与其它认证方式至少要指定一种")
} }