This commit is contained in:
the-djmaze 2022-05-20 07:44:18 +02:00
parent 9862fd5d1a
commit def180e785
2 changed files with 3 additions and 5 deletions

View file

@ -56,11 +56,9 @@ class ChangePasswordPoppassdDriver extends \MailSo\Net\NetClient
\MailSo\Log\Enumerations\Type::ERROR, true);
}
$sLogin = \trim($sLogin);
try
{
$this->sendRequestWithCheck('user', \trim($sLogin), true);
$this->sendRequestWithCheck('user', $oAccount->Login(), true);
$this->sendRequestWithCheck('pass', $sPassword, true);
}
catch (\Throwable $oException)

View file

@ -6,8 +6,8 @@ class ChangePasswordPoppassdPlugin extends \RainLoop\Plugins\AbstractPlugin
{
const
NAME = 'Change Password Poppassd',
VERSION = '2.15',
RELEASE = '2022-04-28',
VERSION = '2.16',
RELEASE = '2022-05-20',
REQUIRED = '2.15.3',
CATEGORY = 'Security',
DESCRIPTION = 'Extension to allow users to change their passwords through Poppassd';