mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
Change Ordering of SASLMechanisms
Want bw. Needed to change the ordering for SASL Mechanism...
This commit is contained in:
parent
135406ebfe
commit
2ea3f10cb0
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ class SmtpClient extends \MailSo\Net\NetClient
|
||||||
$sPassword = $aCredentials['Password'];
|
$sPassword = $aCredentials['Password'];
|
||||||
|
|
||||||
$type = '';
|
$type = '';
|
||||||
$aCredentials['SASLMechanisms'][] = 'LOGIN';
|
array_unshift($aCredentials['SASLMechanisms'],'LOGIN');
|
||||||
foreach ($aCredentials['SASLMechanisms'] as $sasl_type) {
|
foreach ($aCredentials['SASLMechanisms'] as $sasl_type) {
|
||||||
if ($this->IsAuthSupported($sasl_type) && \SnappyMail\SASL::isSupported($sasl_type)) {
|
if ($this->IsAuthSupported($sasl_type) && \SnappyMail\SASL::isSupported($sasl_type)) {
|
||||||
$type = $sasl_type;
|
$type = $sasl_type;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue