Skip to content

Commit 2a38105

Browse files
committed
fix:sso重定向错误
1 parent 0f0e3d6 commit 2a38105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/login/engine/SSO.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function isLogin(): bool
6767
$token = Session::getInstance()->get('token');
6868
$device = Session::getInstance()->get('device');
6969

70-
if (empty($token) || $device !== $this->getDevice() || empty(Cache::init(0,Variables::getCachePath('tokens'))->get($token))) {
70+
if (empty($token) || $device !== $this->getDevice() || empty(Cache::init(0,Variables::getCachePath('tokens'.DS))->get($token))) {
7171
$this->logout();
7272
return false;
7373
}

0 commit comments

Comments
 (0)