Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StpUtil.getTokenInfo()的isLogin在退出后显示不正确 #627

Open
objectboy2016 opened this issue May 22, 2024 · 0 comments
Open

StpUtil.getTokenInfo()的isLogin在退出后显示不正确 #627

objectboy2016 opened this issue May 22, 2024 · 0 comments

Comments

@objectboy2016
Copy link

objectboy2016 commented May 22, 2024

使用版本:

1.38.0

报错信息:

StpUtil.isLogin()的isLogin显示是false , 但是StpUtil.getTokenInfo()的isLogin显示的true

希望结果:

调用StpUtil.logout(); 后StpUtil.getTokenInfo()的isLogin显示的false

复现步骤:

1,调用 StpUtil.login(10001);
2,调用 StpUtil.isLogin() , 调用StpUtil.getTokenInfo() , 结果都正确
3, 调用StpUtil.logout(); 然后再调用StpUtil.isLogin() ,StpUtil.getTokenInfo()

< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant