Skip to content

Commit

Permalink
fix rebase error
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhan1 committed Jun 26, 2024
1 parent 5ac460b commit 16995e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/privilege/privileges/privileges.go
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ func (p *UserPrivileges) ConnectionVerification(user *auth.UserIdentity, authUse
return info, ErrAccessDenied.FastGenByArgs(user.Username, user.Hostname, hasPassword)
}
} else if authPlugin, ok := p.authPlugins[record.AuthPlugin]; ok {
if err = p.authenticateWithPlugin(user, authentication, salt, sessionVars, authConn, authPlugin, pwd, record, hasPassword); err != nil {
if err = p.authenticateWithPlugin(user, authentication, salt, sessionVars, authConn, authPlugin, pwd); err != nil {
return info, err
}
} else if len(pwd) > 0 && len(authentication) > 0 {
Expand Down

0 comments on commit 16995e4

Please sign in to comment.