Skip to content

Commit

Permalink
Revert pull 423
Browse files Browse the repository at this point in the history
  • Loading branch information
akhil1508 committed Dec 14, 2022
1 parent 682af34 commit 06860a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions snappymail/v/0.0.0/app/libraries/MailSo/Smtp/SmtpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@ public function Login(Settings $oSettings) : self
$sPassword = $oSettings->Password;

$type = '';
// https://github.com/the-djmaze/snappymail/pull/423
// $oSettings->SASLMechanisms[] = 'LOGIN';
\array_unshift($oSettings->SASLMechanisms, 'LOGIN');
$oSettings->SASLMechanisms[] = 'LOGIN';
foreach ($oSettings->SASLMechanisms as $sasl_type) {
if ($this->IsAuthSupported($sasl_type) && \SnappyMail\SASL::isSupported($sasl_type)) {
$type = $sasl_type;
Expand Down

0 comments on commit 06860a5

Please sign in to comment.