From 3508adb5effd1684b0c7b5a335ed1b8e2f27e8d5 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Fri, 20 May 2022 08:48:35 +0200 Subject: [PATCH] Bugfix: plugin package incorrect --- build/plugins.php | 2 +- plugins/change-password/index.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/plugins.php b/build/plugins.php index 25b739800..36fcc1f7a 100755 --- a/build/plugins.php +++ b/build/plugins.php @@ -45,7 +45,7 @@ foreach (glob(ROOT_DIR . '/plugins/*', GLOB_NOSORT | GLOB_ONLYDIR) as $dir) { @unlink($tgz_destination); @unlink("{$tar_destination}.gz"); $tar = new PharData($tar_destination); - $tar->buildFromDirectory('./plugins/', '/' . \preg_quote("./plugins/{$name}", '/') . '/'); + $tar->buildFromDirectory('./plugins/', '/' . \preg_quote("./plugins/{$name}/", '/') . '/'); $tar->compress(Phar::GZ); unlink($tar_destination); rename("{$tar_destination}.gz", $tgz_destination); diff --git a/plugins/change-password/index.php b/plugins/change-password/index.php index 587d77bd8..9a00ccc7a 100644 --- a/plugins/change-password/index.php +++ b/plugins/change-password/index.php @@ -6,8 +6,8 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin { const NAME = 'Change Password', - VERSION = '2.14', - RELEASE = '2022-04-28', + VERSION = '2.16', + RELEASE = '2022-05-20', REQUIRED = '2.12.0', CATEGORY = 'Security', DESCRIPTION = 'Extension to allow users to change their passwords';