mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 02:59:21 +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'];
|
||||
|
||||
$type = '';
|
||||
$aCredentials['SASLMechanisms'][] = 'LOGIN';
|
||||
array_unshift($aCredentials['SASLMechanisms'],'LOGIN');
|
||||
foreach ($aCredentials['SASLMechanisms'] as $sasl_type) {
|
||||
if ($this->IsAuthSupported($sasl_type) && \SnappyMail\SASL::isSupported($sasl_type)) {
|
||||
$type = $sasl_type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue