We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91dd6ff commit b892532Copy full SHA for b892532
src/Users/Controllers/UserController.php
@@ -397,7 +397,7 @@ public function security(int $userId)
397
398
/** @var LoginModel $loginModel */
399
$loginModel = model(LoginModel::class);
400
- $logins = $loginModel->where('identifier', $user->email)->orderBy('date', 'desc')->limit(20)->findAll();
+ $logins = $loginModel->where('identifier', $user->email)->orderBy('date', 'desc')->findAll(20);
401
402
return $this->render($this->viewPrefix . 'security', [
403
'user' => $user,
0 commit comments