This commit is contained in:
苏尹岚
2020-11-20 15:25:02 +08:00
parent 8bdf988a14
commit ecc068f976

View File

@@ -160,7 +160,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("短信验证码与其它认证方式至少要指定一种")
} }