-
Notifications
You must be signed in to change notification settings - Fork 475
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
JWT $request->user(guard) 运行一段时间后 获取值为null。已添加清理器。 #413
Labels
analyzing
Analyzing this issue
Comments
pleaseyang
changed the title
$request->user(guard) 运行一段时间后 获取值为null。已添加清理器。
JWT $request->user(guard) 运行一段时间后 获取值为null。已添加清理器。
Aug 17, 2022
Same trouble without cleaners and with default guard (session)
Returns user only for first request after start or reload
Work correctly, but many packages and me too use User from request |
@hhxsv5 @pleaseyang Temp solution
Something like this work good, but maybe its dangerous |
同问,还是不行 |
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
auth:user 就没事,很奇怪 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your software version (Screenshot of your startup)
Detail description about this issue(error/log)
laravels start 后,运行一段时间,接口请求时间 < 1s后。 $request->user(guard) 获取为 null
Some
reproducible
code blocks andsteps
The text was updated successfully, but these errors were encountered: