From 1387087b628defbcc858898f35d263d68de2c187 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 29 Aug 2017 20:07:45 +0200 Subject: [PATCH] * LDAP/Mail: fix new accounts did not automatic enable mail account Thanks to Lagrange, Joseph Fernando for the fix. --- api/src/Mail/Smtp/Ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Mail/Smtp/Ldap.php b/api/src/Mail/Smtp/Ldap.php index ea5b470bb6..99d21581c5 100644 --- a/api/src/Mail/Smtp/Ldap.php +++ b/api/src/Mail/Smtp/Ldap.php @@ -248,7 +248,7 @@ class Ldap extends Mail\Smtp if (static::MAIL_ENABLE_ATTR) { $newData[static::MAIL_ENABLE_ATTR] = static::MAIL_ENABLED == self::MAIL_ENABLED_USE_MAIL ? - $mailLocalAddress : static::MAIL_ENABLE_ATTR; + $mailLocalAddress : static::MAIL_ENABLED; } // does schema support an explicit mailbox name --> set it if (static::MAILBOX_ATTR)