mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #351
This commit is contained in:
parent
9862fd5d1a
commit
def180e785
2 changed files with 3 additions and 5 deletions
|
|
@ -56,11 +56,9 @@ class ChangePasswordPoppassdDriver extends \MailSo\Net\NetClient
|
||||||
\MailSo\Log\Enumerations\Type::ERROR, true);
|
\MailSo\Log\Enumerations\Type::ERROR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sLogin = \trim($sLogin);
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$this->sendRequestWithCheck('user', \trim($sLogin), true);
|
$this->sendRequestWithCheck('user', $oAccount->Login(), true);
|
||||||
$this->sendRequestWithCheck('pass', $sPassword, true);
|
$this->sendRequestWithCheck('pass', $sPassword, true);
|
||||||
}
|
}
|
||||||
catch (\Throwable $oException)
|
catch (\Throwable $oException)
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ class ChangePasswordPoppassdPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
{
|
{
|
||||||
const
|
const
|
||||||
NAME = 'Change Password Poppassd',
|
NAME = 'Change Password Poppassd',
|
||||||
VERSION = '2.15',
|
VERSION = '2.16',
|
||||||
RELEASE = '2022-04-28',
|
RELEASE = '2022-05-20',
|
||||||
REQUIRED = '2.15.3',
|
REQUIRED = '2.15.3',
|
||||||
CATEGORY = 'Security',
|
CATEGORY = 'Security',
|
||||||
DESCRIPTION = 'Extension to allow users to change their passwords through Poppassd';
|
DESCRIPTION = 'Extension to allow users to change their passwords through Poppassd';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue