diff --git a/corelib/session.go b/corelib/session.go index 3ed0617..46e820b 100644 --- a/corelib/session.go +++ b/corelib/session.go @@ -9,7 +9,7 @@ var SessionStore *redistore.RediStore func NewSessionStore() { // Fetch new store. - store, err := redistore.NewRediStore(10, "tcp", configs.Settings.Redis.Addr, "", []byte(configs.Settings.Redis.Password)) + store, err := redistore.NewRediStore(10, "tcp", configs.Settings.Redis.Addr, configs.Settings.Redis.Password) if err != nil { panic(err) }