调试
This commit is contained in:
@@ -181,6 +181,7 @@ func RegisterUserWithMobile(ctx *jxcontext.Context, user *model.User, mobileVeri
|
||||
if mobileAuth != nil && !mobileAuth.IsUserEmpty() {
|
||||
auth2.RemoveUserInfo(mobileAuth.Token)
|
||||
if newAuthInfo, err := auth2.BindUser(mobileAuth, user); err == nil {
|
||||
globals.SugarLogger.Debugf("testRegisterUserWithMobile", utils.Format4Output(mobileAuth, false), utils.Format4Output(newAuthInfo, false))
|
||||
return nil, jsonerr.New(newAuthInfo, model.ErrCodeJsonUserAlreadyExist)
|
||||
} else {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user