mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 06:46:27 +00:00
Small code cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user