We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdbd30f commit 8d6b4a4Copy full SHA for 8d6b4a4
src/Guard/SsoGuard.php
@@ -51,7 +51,7 @@ public function login(Authenticatable $user, string $client = null)
51
52
if (! empty($previousToken = $this->redis->hGet($redisKey, $client))) {
53
// 如果存在上一个 token,就给他拉黑,也就是强制下线
54
- $this->logout($token);
+ $this->getJwtManager()->addBlacklist($token);
55
$this->redis->hDel($redisKey, $client);
56
$this->eventDispatcher->dispatch(new ForcedOfflineEvent($user, $client));
57
}
0 commit comments