forked from extern/egroupware
* LDAP/Mail: fix new accounts did not automatic enable mail account
Thanks to Lagrange, Joseph Fernando for the fix.
This commit is contained in:
parent
74f4544722
commit
1387087b62
@ -248,7 +248,7 @@ class Ldap extends Mail\Smtp
|
|||||||
if (static::MAIL_ENABLE_ATTR)
|
if (static::MAIL_ENABLE_ATTR)
|
||||||
{
|
{
|
||||||
$newData[static::MAIL_ENABLE_ATTR] = static::MAIL_ENABLED == self::MAIL_ENABLED_USE_MAIL ?
|
$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
|
// does schema support an explicit mailbox name --> set it
|
||||||
if (static::MAILBOX_ATTR)
|
if (static::MAILBOX_ATTR)
|
||||||
|
Loading…
Reference in New Issue
Block a user