Replace getAuthenticatedOperator with requireAuthenticatedOperator in handleRequest method
This commit is contained in:
parent
3217100cff
commit
ee7193c5ea
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
public static function handleRequest(): void
|
||||
{
|
||||
$authenticatedOperator = FederationServer::getAuthenticatedOperator();
|
||||
$authenticatedOperator = FederationServer::requireAuthenticatedOperator();
|
||||
|
||||
// Ensure the authenticated operator has permission to delete operators.
|
||||
if(!$authenticatedOperator->canManageBlacklist())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue