code mistake
This commit is contained in:
parent
47a9a28239
commit
b83e607ff9
1 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ class Server_Manager_Mailcow extends Server_Manager
|
|||
];
|
||||
// Create domain on mailcow
|
||||
$result1 = $this->_makeRequest('POST', 'add/domain', $domainData);
|
||||
if (str_contains($result1, 'success') {
|
||||
if (str_contains($result1, 'success')) {
|
||||
// Create Domain Admin in mailcow
|
||||
$domainAdminData = [
|
||||
'json' => [
|
||||
|
@ -197,7 +197,7 @@ class Server_Manager_Mailcow extends Server_Manager
|
|||
],
|
||||
"items" => $a->getDomain(),
|
||||
]
|
||||
]
|
||||
];
|
||||
// Make request and suspend user
|
||||
$result = $this->_makeRequest('POST', 'edit/domain', $domainData);
|
||||
if (!str_contains($result, 'success')) {
|
||||
|
|
Loading…
Reference in a new issue