From 3dc9fbeaf801dc75f4dadc7057a8767b35edd0dc Mon Sep 17 00:00:00 2001 From: june Date: Fri, 12 Jul 2024 20:36:13 +0800 Subject: [PATCH] =?UTF-8?q?[2024-07-12](UPDATE):=20=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=90=8E=E5=8F=B0=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- corelib/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }