Skip to content

Commit

Permalink
perf: include request info in first accesstoken touch (#3233)
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat authored Dec 28, 2021
1 parent 066cf02 commit 8096207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Middleware/RememberFromCookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function process(Request $request, Handler $handler): Response
$token = AccessToken::findValid($id);

if ($token && $token instanceof RememberAccessToken) {
$token->touch();
$token->touch($request);

/** @var \Illuminate\Contracts\Session\Session $session */
$session = $request->getAttribute('session');
Expand Down

0 comments on commit 8096207

Please sign in to comment.