- fk
This commit is contained in:
@@ -269,7 +269,7 @@ func Login(authType, authID, authIDType, authSecret string) (authInfo *AuthInfo,
|
|||||||
}
|
}
|
||||||
authInfo = createAuthInfo(user, authBindEx)
|
authInfo = createAuthInfo(user, authBindEx)
|
||||||
if needAutoAddAuthBind {
|
if needAutoAddAuthBind {
|
||||||
if AddAuthBind(user, authInfo) == nil {
|
if authers[authInfo.AuthBindInfo.Type].AddAuthBind(authInfo.AuthBindInfo, user.GetName()) == nil {
|
||||||
// todo,用户类型应该要与RegisterUser一起统一处理
|
// todo,用户类型应该要与RegisterUser一起统一处理
|
||||||
userProvider.UpdateUserType(user.GetID(), handler.GetUserType(), UpdateUserTypeAdd)
|
userProvider.UpdateUserType(user.GetID(), handler.GetUserType(), UpdateUserTypeAdd)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user