1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-20 22:42:59 +03:00

update documentation

This commit is contained in:
Nedyalko Dyakov
2025-03-24 16:29:15 +02:00
parent 9ef438bd15
commit df9bfce954
2 changed files with 23 additions and 4 deletions

View File

@ -336,7 +336,7 @@ func (c *baseClient) initConn(ctx context.Context, cn *pool.Conn) error {
}
if !authenticated && password != "" {
err = c.reAuth(ctx, conn, auth.NewCredentials(username, password))
err = c.reAuth(ctx, conn, auth.NewBasicCredentials(username, password))
if err != nil {
return err
}