Fix condition check for public evidence access method
This commit is contained in:
parent
b7e7f76b1a
commit
e4ab4a7c87
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
$authenticatedOperator = FederationServer::getAuthenticatedOperator(false);
|
||||
$listConfidential = 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