From 90c55e013d7d2be087d61690af5b2eba5869a6a4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 5 Feb 2020 10:58:34 +0100 Subject: [PATCH] try "PLAIN" first, in case IMAP wrongly reports some digest, it does not (correctly) implement --- api/src/Mail/Sieve.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/api/src/Mail/Sieve.php b/api/src/Mail/Sieve.php index 6c5f5b120d..5dded7a2a5 100644 --- a/api/src/Mail/Sieve.php +++ b/api/src/Mail/Sieve.php @@ -99,10 +99,8 @@ class Sieve extends Horde\ManageSieve ); } // try "PLAIN" first, in case IMAP wrongly reports some digest, it does not (correctly) implement - if (self::$supportedAuthMethods[0] !== self::AUTH_PLAIN) - { - array_unshift(self::$supportedAuthMethods, self::AUTH_PLAIN); - } + array_unshift($this->supportedAuthMethods, self::AUTH_PLAIN); + parent::__construct($params); $this->displayCharset = Translation::charset();