- fk
This commit is contained in:
@@ -178,7 +178,7 @@ func Login(authType, authID, authIDType, authSecret string) (authInfo *AuthInfo,
|
||||
var authBind *model.AuthBind
|
||||
var user IUser
|
||||
realAuthID := authID
|
||||
if authIDType == AuthTypePassword {
|
||||
if authType == AuthTypePassword {
|
||||
if authID == "" {
|
||||
return nil, ErrInvalidParams
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user