mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Merge pull request #1686 from beluxx/master
fix the password of redis connection options
This commit is contained in:
commit
bf9220d3c7
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user