Fix condition check for public evidence listing access method
This commit is contained in:
parent
12f7832444
commit
4c44d8d64f
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
$authenticatedOperator = FederationServer::getAuthenticatedOperator(false);
|
||||
$includeConfidential = false;
|
||||
|
||||
if(!Configuration::getServerConfiguration()->isPublicEvidence() && $authenticatedOperator === null)
|
||||
if(!Configuration::getServerConfiguration()->isEvidencePublic() && $authenticatedOperator === null)
|
||||
{
|
||||
throw new RequestException('Unauthorized: You must be authenticated to list evidence', 401);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue