|
|
@@ -425,7 +425,15 @@ function zimbraSingle_CreateAccount($params)
|
|
|
);
|
|
|
return "Error: account $accountName not created";
|
|
|
}
|
|
|
- return 'success';
|
|
|
+ Capsule::table('tblhosting')
|
|
|
+ ->where('id', '=', $params['id'])
|
|
|
+ ->update(
|
|
|
+ array(
|
|
|
+ 'username' => $accountName,
|
|
|
+ 'password' => $params['customfields']['password'],
|
|
|
+ )
|
|
|
+ );
|
|
|
+return 'success';
|
|
|
}
|
|
|
|
|
|
/**
|