Small code cleanup

This commit is contained in:
the-djmaze
2022-10-14 23:24:14 +02:00
parent e8576c75b9
commit 2056600a72
3 changed files with 4 additions and 3 deletions

View File

@@ -86,3 +86,5 @@ $manifest = str_replace('}]', "}\n]", $manifest);
$manifest = str_replace('","', "\",\n\t\t\"", $manifest);
$manifest = str_replace('\/', '/', $manifest);
file_put_contents(PLUGINS_DEST_DIR . "/packages.json", $manifest);
exit;

View File

@@ -14,6 +14,7 @@ class ChangePasswordHMailServerPlugin extends \RainLoop\Plugins\AbstractPlugin
public function Supported() : string
{
return 'Use Change Password plugin';
return 'Activate in Change Password plugin'
. (\class_exists('COM') ? '' : '. And you must install PHP COM extension');
}
}

View File

@@ -41,8 +41,6 @@ trait User
$sPassword = $this->GetActionParam('Password', '');
$bSignMe = !empty($this->GetActionParam('SignMe', 0));
$oAccount = null;
$this->Logger()->AddSecret($sPassword);
$oAccount = $this->LoginProcess($sEmail, $sPassword, $bSignMe);