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 36744a6 commit b7d1ca8Copy full SHA for b7d1ca8
sa-token-core/src/main/java/cn/dev33/satoken/stp/StpLogic.java
@@ -313,8 +313,11 @@ public void logoutByTokenValue(String tokenValue) {
313
314
// $$ 通知监听器
315
SaTokenManager.getSaTokenListener().doLogout(loginKey, loginId, tokenValue);
316
-
317
- // 3. 尝试清理账号session上的token签名 (如果为null或已被标记为异常, 那么无需继续执行 )
+
+ // 清理token-session
318
+ SaTokenManager.getSaTokenDao().delete(splicingKeyTokenSession(tokenValue));
319
320
+ // 3. 尝试清理账号session上的token签名 (如果为null或已被标记为异常, 那么无需继续执行 )
321
SaSession session = getSessionByLoginId(loginId, false);
322
if(session == null) {
323
return;
0 commit comments