-
Notifications
You must be signed in to change notification settings - Fork 1k
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
管理员修改用户密码导致用户无法正常登录 #306
Labels
bug
Something isn't working
Comments
即便先前登陆失败,经过一段时间后,用户刷新网页,可自动处于登录状态。 |
Even if the previous login failed, after a period of time, the user refreshes the web page and is automatically logged in. |
#285 will fix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
当管理员在后台修改用户的密码后,用户在前端登录填写新密码后页面右下角弹出登录成功弹窗,但页面仍呈现未登录状态。选择任意模型均提示“您需要登录才能使用此功能”。开启浏览器F12,登录login接口正常返回token,list接口显示message:"user not found"。重启服务后可正常登录。怀疑是token有效期之类的问题。
复现步骤
1 使用docker-compose部署服务
2 注册一个普通账户
3 使用管理员账户修改该账户的密码
4 普通账户使用新密码登录
5 普通账户无法正常使用
预期结果
普通账户能正常登录使用
日志信息
无
相关截图 (如果有)
The text was updated successfully, but these errors were encountered: