fix(auth): 修复RedisTokenAuthenticationManager中的令牌删除问题 (#346)

- 修改令牌删除逻辑,添加了"token-auth:"前缀以匹配正确的Redis键格式
This commit is contained in:
Sosoorin
2026-02-15 10:15:06 +08:00
committed by GitHub
parent ac06290568
commit fab04072dd

View File

@@ -41,7 +41,7 @@ public class RedisTokenAuthenticationManager implements TokenAuthenticationManag
@Override
public Mono<Void> removeToken(String token) {
return operations
.delete(token)
.delete("token-auth:" + token)
.then();
}