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
token存在cookie中过期时间30分钟,也就是用户登录成功30分钟后token会自动失效那么又要重新登陆了是不是有些烦,当然这个时间可以设置长一些哈哈,30分钟我觉得有点短了,建议2小时
The text was updated successfully, but these errors were encountered:
更好的做法应该是:token过期时间还是30min,但30min内用户有操作的话则更新token的过期时间以重新计时,这样子用户就不会用着用着又重新登录。
Sorry, something went wrong.
现有就是有操作就以重新计时的方式
No branches or pull requests
token存在cookie中过期时间30分钟,也就是用户登录成功30分钟后token会自动失效那么又要重新登陆了是不是有些烦,当然这个时间可以设置长一些哈哈,30分钟我觉得有点短了,建议2小时
The text was updated successfully, but these errors were encountered: