This commit is contained in:
the-djmaze 2022-05-16 19:56:21 +02:00
parent 6fe8ce7ec4
commit e5f1c41df0

View file

@ -219,14 +219,15 @@ class ImapClient extends \MailSo\Net\NetClient
}
else
{
$sPassword = $this->EscapeString(\utf8_decode($sPassword));
if ($this->oLogger)
{
$this->oLogger->AddSecret($this->EscapeString($sPassword));
$this->oLogger->AddSecret($sPassword);
}
$oResponse = $this->SendRequestGetResponse('LOGIN',
array(
$this->EscapeString($sLogin),
$this->EscapeString($sPassword)
$sPassword
));
}