mirror of
https://github.com/flarum/core.git
synced 2025-08-03 06:57:54 +02:00
perf: include request info in first accesstoken touch (#3233)
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user