mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 00:47:04 +03:00
Support AUTH=LOGIN on IMAP
This commit is contained in:
parent
3d10bbface
commit
118d996d3c
1 changed files with 1 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ class ImapClient extends \MailSo\Net\NetClient
|
||||||
// 'SCRAM-SHA-1' => 1, // !$encrypted
|
// 'SCRAM-SHA-1' => 1, // !$encrypted
|
||||||
'CRAM-MD5' => $bUseAuthCramMd5IfSupported,
|
'CRAM-MD5' => $bUseAuthCramMd5IfSupported,
|
||||||
'PLAIN' => $bUseAuthPlainIfSupported,
|
'PLAIN' => $bUseAuthPlainIfSupported,
|
||||||
|
'LOGIN' => 1,
|
||||||
];
|
];
|
||||||
foreach ($types as $sasl_type => $active) {
|
foreach ($types as $sasl_type => $active) {
|
||||||
if ($active && $this->IsSupported("AUTH={$sasl_type}") && \SnappyMail\SASL::isSupported($sasl_type)) {
|
if ($active && $this->IsSupported("AUTH={$sasl_type}") && \SnappyMail\SASL::isSupported($sasl_type)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue