Skip to content

Commit 17eabe8

Browse files
committed
fixup! fix(mail): remove trailing blank line in ThreadEnvelope
Signed-off-by: greta <gretadoci@gmail.com>
1 parent 2f099a7 commit 17eabe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/IMAP/HordeImapClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected function _login() {
9191
return $this->imapLogin();
9292
} catch (Horde_Imap_Client_Exception $e) {
9393
if ($e->getCode() === Horde_Imap_Client_Exception::LOGIN_AUTHENTICATIONFAILED
94-
&& $e->getMessage() === 'Authentication failed.') {
94+
&& in_array($e->getMessage(), ['Authentication failed.', 'Mail server denied authentication.'], true)) {
9595
$this->rateLimiterCache->inc($cacheKey);
9696
if ($this->rateLimiterCache instanceof IMemcacheTTL) {
9797
$this->rateLimiterCache->setTTL($cacheKey, self::RATE_LIMIT_WINDOW);

0 commit comments

Comments
 (0)