mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 07:20:35 +01:00
fix the password of redis connection options
This commit is contained in:
parent
3e86301b7a
commit
abfe6dbdea
|
@ -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