mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
perf: include request info in first accesstoken touch (#3233)
This commit is contained in:
parent
066cf02b88
commit
809620750f
|
@ -41,7 +41,7 @@ class RememberFromCookie implements Middleware
|
|||
$token = AccessToken::findValid($id);
|
||||
|
||||
if ($token && $token instanceof RememberAccessToken) {
|
||||
$token->touch();
|
||||
$token->touch($request);
|
||||
|
||||
/** @var \Illuminate\Contracts\Session\Session $session */
|
||||
$session = $request->getAttribute('session');
|
||||
|
|
Loading…
Reference in New Issue
Block a user