1
0
mirror of https://github.com/kataras/iris.git synced 2026-07-31 08:29:50 +00:00

Merge pull request #1686 from beluxx/master

fix the password of redis connection options
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-12-07 19:12:42 +02:00
committed by GitHub
+1 -1
View File
@@ -47,7 +47,7 @@ func (r *GoRedisDriver) mergeClientOptions(c Config) *Options {
}
if opts.Password == "" {
opts.Username = c.Password
opts.Password = c.Password
}
if opts.DB == 0 {