diff --git a/classes/plugin/AdminController.php b/classes/plugin/AdminController.php index fdc52b55..f7502f28 100644 --- a/classes/plugin/AdminController.php +++ b/classes/plugin/AdminController.php @@ -1053,7 +1053,7 @@ class AdminController extends AdminBaseController $result = Gpm::install($package, ['theme' => $type === 'theme']); } catch (\Exception $e) { $msg = $e->getMessage(); - $msg = Utils::contains($msg, '401 Unauthorized') ? "ERROR: Authorization failed for this resource" : $msg; + $msg = Utils::contains($msg, '401 Unauthorized') ? "ERROR: License key for this resource is invalid." : $msg; $msg = Utils::contains($msg, '404 Not Found') ? "ERROR: Resource not found" : $msg; $this->admin->json_response = ['status' => 'error', 'message' => $msg];