Skip to content

Commit

Permalink
fix:sso重定向错误
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkioTomas committed May 28, 2023
1 parent 0f0e3d6 commit 2a38105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/login/engine/SSO.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2a38105

Please sign in to comment.