Browse Source

Merge pull request #1686 from beluxx/master

fix the password of redis connection options
pull/1688/head
Gerasimos (Makis) Maropoulos 1 year ago
committed by GitHub
parent
commit
bf9220d3c7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sessions/sessiondb/redis/driver_goredis.go

2
sessions/sessiondb/redis/driver_goredis.go

@ -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…
Cancel
Save