We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 86063a0 + 685350f commit 2e5d89aCopy full SHA for 2e5d89a
1 file changed
lib/Controller/UserApiController.php
@@ -37,6 +37,7 @@ public function __construct(
37
#[NoAdminRequired]
38
#[RequireDocumentSession]
39
public function index(string $filter = '', int $limit = 5): DataResponse {
40
+ $limit = min($limit, 50);
41
$sessions = $this->sessionService->getAllSessions($this->getSession()->getDocumentId());
42
43
$users = [];
0 commit comments