diff --git a/src/Users/Controllers/UserController.php b/src/Users/Controllers/UserController.php
index 68157bcf..9359a024 100644
--- a/src/Users/Controllers/UserController.php
+++ b/src/Users/Controllers/UserController.php
@@ -354,7 +354,7 @@ public function security(int $userId)
 
         /** @var LoginModel $loginModel */
         $loginModel = model(LoginModel::class);
-        $logins     = $loginModel->where('identifier', $user->email)->orderBy('date', 'desc')->limit(20)->findAll();
+        $logins     = $loginModel->where('identifier', $user->email)->orderBy('date', 'desc')->findAll(20);
 
         return $this->render($this->viewPrefix . 'security', [
             'user'   => $user,