We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
現在機制是 token expire 時會偷偷變成 guest~ 但是如此會導致 user / frontend 的設定 (原本的 user) 和 backend (guest) 不一樣~
需要改成直接 return 401~
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
https://github.com/Ptt-official-app/go-openbbsmiddleware/blob/main/api/api_login_required.go#L44
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
現在機制是 token expire 時會偷偷變成 guest~
但是如此會導致 user / frontend 的設定 (原本的 user)
和 backend (guest) 不一樣~
需要改成直接 return 401~
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
https://github.com/Ptt-official-app/go-openbbsmiddleware/blob/main/api/api_login_required.go#L44
The text was updated successfully, but these errors were encountered: