From 84c8e0d08dfe9f4fd5f5dba47126a86701cbfe48 Mon Sep 17 00:00:00 2001 From: botsarenthuman <93811503+botsarenthuman@users.noreply.github.com> Date: Sat, 9 Mar 2024 12:33:52 -0800 Subject: [PATCH] Update ImapClient.php These lines were overwriting our custom plugin which sets it own auth method via a php unshift. These are already the default login methods, so please don't override what someone may have changed in a plugin. --- snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php index 873c614f8..7c36a0d30 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/ImapClient.php @@ -127,9 +127,6 @@ class ImapClient extends \MailSo\Net\NetClient } $type = ''; - if ($this->Encrypted()) { - \array_unshift($oSettings->SASLMechanisms, 'PLAIN', 'LOGIN'); - } foreach ($oSettings->SASLMechanisms as $sasl_type) { if ($this->hasCapability("AUTH={$sasl_type}") && \SnappyMail\SASL::isSupported($sasl_type)) { $type = $sasl_type;