diff --git a/src/FederationLib/FederationLib.php b/src/FederationLib/FederationLib.php index c02b4f4..03efa8d 100755 --- a/src/FederationLib/FederationLib.php +++ b/src/FederationLib/FederationLib.php @@ -244,7 +244,7 @@ { if(!$this->checkPermission(Methods::UPDATE_CLIENT_NAME, $this->resolveIdentity($identity))) { - throw new Exceptions\Standard\AccessDeniedException('You do not have sufficient permission to change the name of a client'); + throw new Exceptions\Standard\AccessDeniedException('You do not have sufficient permission to update the name of a client'); } try @@ -258,7 +258,7 @@ throw $e; } - throw new Exceptions\Standard\InternalServerException('There was an error while changing the client name', $e); + throw new Exceptions\Standard\InternalServerException('There was an error while updating the client name', $e); } return true;