diff --git a/sessions/sessiondb/redis/driver_goredis.go b/sessions/sessiondb/redis/driver_goredis.go index bc2d0a22..7b020d8a 100644 --- a/sessions/sessiondb/redis/driver_goredis.go +++ b/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 {