Remove unnecessary parameter from getAuthenticatedOperator in ListAuditLogs
This commit is contained in:
parent
a18178f764
commit
4817c15338
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
public static function handleRequest(): void
|
||||
{
|
||||
$authenticatedOperator = FederationServer::getAuthenticatedOperator(false);
|
||||
$authenticatedOperator = FederationServer::getAuthenticatedOperator();
|
||||
if(!Configuration::getServerConfiguration()->isAuditLogsPublic() && $authenticatedOperator === null)
|
||||
{
|
||||
throw new RequestException('Unauthorized: Public audit logs are disabled and no operator is authenticated', 403);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue