Skip to content

Commit 332ceb7

Browse files
committed
refactor: use variable
Cannot find this code from the recordActiveDate() method definition on IDE.
1 parent a3ea677 commit 332ceb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Filters/TokenAuth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function before(RequestInterface $request, $arguments = null)
4848
}
4949

5050
if (setting('Auth.recordActiveDate')) {
51-
auth('tokens')->recordActiveDate();
51+
$authenticator->recordActiveDate();
5252
}
5353
}
5454

0 commit comments

Comments
 (0)