mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-03 21:05:45 -05:00
Update PHP and JS dependencies to latest versions and modernize codebase (#5446)
This commit is contained in:
@@ -19,7 +19,7 @@ class TrackAPIKey
|
||||
if ($request->user()) {
|
||||
$token = $request->user()->currentAccessToken();
|
||||
|
||||
LogTarget::setApiKeyId($token instanceof ApiKey ? $token->id : null);
|
||||
LogTarget::setApiKeyId($token instanceof ApiKey ? $token->id : null); // @phpstan-ignore instanceof.alwaysTrue
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
|
||||
Reference in New Issue
Block a user