From 2a38105b8d6359ee76ee08135677fa1c3b784bbf Mon Sep 17 00:00:00 2001 From: ankio Date: Sun, 28 May 2023 11:26:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:sso=E9=87=8D=E5=AE=9A=E5=90=91=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/library/login/engine/SSO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/login/engine/SSO.php b/src/library/login/engine/SSO.php index 8595458..06eaad0 100644 --- a/src/library/login/engine/SSO.php +++ b/src/library/login/engine/SSO.php @@ -67,7 +67,7 @@ function isLogin(): bool $token = Session::getInstance()->get('token'); $device = Session::getInstance()->get('device'); - if (empty($token) || $device !== $this->getDevice() || empty(Cache::init(0,Variables::getCachePath('tokens'))->get($token))) { + if (empty($token) || $device !== $this->getDevice() || empty(Cache::init(0,Variables::getCachePath('tokens'.DS))->get($token))) { $this->logout(); return false; }