Skip to content

Commit 0ea457b

Browse files
cconard96trasher
authored andcommitted
allow non-private status check when api disabled
1 parent 2743ee7 commit 0ea457b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Glpi/Api/HL/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ public function handleRequest(Request $request): Response
643643

644644
$this->original_request = clone $request;
645645
$matched_route = $this->match($request);
646-
$routes_allowed_when_disabled = ['/token'];
646+
$routes_allowed_when_disabled = ['/token', '/status/all'];
647647

648648
if ($matched_route === null) {
649649
$response = new Response(404);

0 commit comments

Comments
 (0)