We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4bee1a8 + 01ddd4f commit ffb9962Copy full SHA for ffb9962
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