We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e7f51 commit d8a4588Copy full SHA for d8a4588
server/auth.go
@@ -151,10 +151,8 @@ func (c *Conn) compareCacheSha2PasswordAuthData(clientAuthData []byte) error {
151
// 'fast' auth: write "More data" packet (first byte == 0x01) with the second byte = 0x03
152
return c.writeAuthMoreDataFastAuth()
153
}
154
-
155
- return ErrAccessDenied
156
157
- // cache miss, do full auth
+ // cache miss or validation failed, do full auth
158
if err := c.writeAuthMoreDataFullAuth(); err != nil {
159
return err
160
0 commit comments