|
@@ -37,6 +37,12 @@ class CreateAccount extends AddonController
|
|
|
*/
|
|
*/
|
|
|
$this->checkExtensionOrThrowError();
|
|
$this->checkExtensionOrThrowError();
|
|
|
|
|
|
|
|
|
|
+ //update domain
|
|
|
|
|
+ if($params['customfields']['maildomain']){
|
|
|
|
|
+ $this->hosting()->domain = $params['customfields']['maildomain'];
|
|
|
|
|
+ $this->hosting()->save();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* run zimbra service
|
|
* run zimbra service
|
|
|
*/
|
|
*/
|