fix
This commit is contained in:
parent
65ccfcb84e
commit
467cf3c5a3
|
@ -104,6 +104,7 @@ func (l *UserGoogleLoginLogic) UserGoogleLogin(req *types.RequestGoogleLogin, us
|
|||
},
|
||||
}
|
||||
|
||||
l.defaultEmail = gemail
|
||||
l.isRegistered = false
|
||||
token, err := l.svcCtx.OAuthTokenManger.Encrypt(l.registerInfo)
|
||||
if err != nil {
|
||||
|
@ -111,7 +112,6 @@ func (l *UserGoogleLoginLogic) UserGoogleLogin(req *types.RequestGoogleLogin, us
|
|||
return resp.SetStatus(basic.CodeOAuthRegisterTokenErr)
|
||||
}
|
||||
l.registerToken = token
|
||||
l.defaultEmail = gemail
|
||||
|
||||
return resp.SetStatus(basic.CodeOK)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user