mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
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.
This commit is contained in:
parent
d498bf2b53
commit
84c8e0d08d
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue