andre 1 год назад
Родитель
Сommit
a6b3d98c42

+ 2 - 0
app/Libs/Zimbra/Components/Api/Soap/Services/Update/UpdateAccount.php

@@ -70,6 +70,8 @@ class UpdateAccount extends CreateAccount
         $account->setAttr(Account::ATTR_COMPANY, $this->formData['company']);
         $account->setAttr(Account::ATTR_ACCOUNT_STATUS, $this->formData['status']);
         $account->setAttr(Account::ATTR_DISPLAY_NAME, $this->formData['display_name']);
+        $account->setAttr(Account::ATTR_MAIL_FORWARD, $this->formData['zimbraPrefMailForwardingAddress']);
+        $account->setAttr(Account::ATTR_DISABLE_LOCAL, $this->formData['zimbraPrefMailLocalDeliveryDisabled']);
 
         return $account;