Cleanup some logging

This commit is contained in:
the-djmaze 2022-12-06 10:40:17 +01:00
parent dc335f0016
commit e8fc4eaa30

View file

@ -184,7 +184,7 @@ class ImapClient extends \MailSo\Net\NetClient
$this->sendRaw($sAuth); $this->sendRaw($sAuth);
$oResponse = $this->getResponse(); $oResponse = $this->getResponse();
} }
else if ('PLAIN' === $type || 'OAUTHBEARER' === $type) else if ('PLAIN' === $type || 'OAUTHBEARER' === $type /*|| 'PLAIN-CLIENTTOKEN' === $type*/)
{ {
$sAuth = $SASL->authenticate($sLogin, $sPassword); $sAuth = $SASL->authenticate($sLogin, $sPassword);
$this->oLogger && $this->oLogger->AddSecret($sAuth); $this->oLogger && $this->oLogger->AddSecret($sAuth);