[Mailer] fixed the order of authenticators

This commit is contained in:
Fabien Potencier 2019-08-03 09:24:14 +02:00
parent 8f1d9d2c5d
commit 0800e90fde

View File

@ -38,10 +38,10 @@ class EsmtpTransport extends SmtpTransport
parent::__construct(null, $dispatcher, $logger);
$this->authenticators = [
new Auth\PlainAuthenticator(),
new Auth\LoginAuthenticator(),
new Auth\XOAuth2Authenticator(),
new Auth\CramMd5Authenticator(),
new Auth\LoginAuthenticator(),
new Auth\PlainAuthenticator(),
new Auth\XOAuth2Authenticator(),
];
/** @var SocketStream $stream */