From b8ad70a8e3926c7f1ac70bd25a04c341181b009d Mon Sep 17 00:00:00 2001 From: Ernesto Serrano Date: Thu, 14 Mar 2019 14:45:19 +0100 Subject: [PATCH] Update index.php --- plugins/rest-change-password/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/rest-change-password/index.php b/plugins/rest-change-password/index.php index 115a7303f..63aeaa446 100644 --- a/plugins/rest-change-password/index.php +++ b/plugins/rest-change-password/index.php @@ -24,7 +24,7 @@ class RestChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin $sFieldOldpassword = \trim($this->Config()->Get('plugin', 'rest_field_oldpassword', '')); $sFieldNewpassword = \trim($this->Config()->Get('plugin', 'rest_field_newpassword', '')); - if (!empty($sHost) && (!empty($sKey)) + if (!empty($sHost) && (!empty($sKey))) { include_once __DIR__.'/RestChangePasswordDriver.php';