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

登出功能这个接口是不是没起什么作用 #139

Open
junjialiang opened this issue Jun 11, 2022 · 1 comment
Open

登出功能这个接口是不是没起什么作用 #139

junjialiang opened this issue Jun 11, 2022 · 1 comment

Comments

@junjialiang
Copy link

在执行 登出功能接口(/admin/logout)后,然后调用 获取当前登录用户信息(/admin/info)后依然可以正常获取用户信息,是不是登出逻辑只在前端做了处理?(ps. 其它接口也一样可以正常获取到数据)

@1641341031
Copy link

/admin/logout这个接口后端的spring security进行处理,/admin/info接口后端获取用户信息会存到cookie;退出的逻辑把把前端的cookie清理的

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

2 participants