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

[改进]改善需要重新登陆时的提示信息 #351

Open
sjfhsjfh opened this issue Jul 29, 2024 · 3 comments
Open

[改进]改善需要重新登陆时的提示信息 #351

sjfhsjfh opened this issue Jul 29, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@sjfhsjfh
Copy link
Contributor

如题,改善提示信息,提醒重新登陆

大致收集一下需要重新登陆的场景

  • invalid token / refresh token
  • 401 Unauthorized

欢迎补充

@sjfhsjfh sjfhsjfh added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 29, 2024
@YuevUwU
Copy link
Contributor

YuevUwU commented Jul 29, 2024

補充 #306
链接已过期/Link has expired

@liquidhelium
Copy link
Member

補充 #306 链接已过期/Link has expired

那么只有它会返回400吗? 匹配文字毕竟不太可行, 因为有i18n.

liquidhelium added a commit to liquidhelium/phira that referenced this issue Aug 4, 2024
@sjfhsjfh
Copy link
Contributor Author

sjfhsjfh commented Aug 8, 2024

那么只有它会返回400吗?

我在服务端搞定了,现在应该返回 401 Unauthorized 才对了

sjfhsjfh added a commit to liquidhelium/phira that referenced this issue Aug 16, 2024
sjfhsjfh added a commit that referenced this issue Aug 16, 2024
Co-authored-by: sjfhsjfh <sjfhsjfh@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants