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

Bug: 后端返回401状态无法返回登录 #4431

Closed
5 tasks done
fatetianchen opened this issue Sep 19, 2024 · 2 comments · Fixed by #4440
Closed
5 tasks done

Bug: 后端返回401状态无法返回登录 #4431

fatetianchen opened this issue Sep 19, 2024 · 2 comments · Fixed by #4440

Comments

@fatetianchen
Copy link

Version

Vben Admin V5

Describe the bug?

1、后端用的同一个方法返回数据以及报错信息,经过测试只有401状态码无法获取response信息,导致前端无法进入指定的代码块进行判断。
2、401报错后因没有response所有无法获取具体报错信息,而且前端必须刷新网页才能跳转登录页,请大佬仔细排查,尽快修复。
401
405

Reproduction

前端登录后-手动删除线上Redis里的token信息 -返回前端页面刷新

System Info

Relevant log output

No response

Validations

@anncwb
Copy link
Collaborator

anncwb commented Sep 19, 2024

我尝试了下,未能复现。尽量提供可以复现的步骤吧

Copy link

Hello @fatetianchen. Please provide the complete reproduction steps and code. Issues labeled by needs reproduction will be closed if no activities in 3 days.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants