|
|
@@ -90,7 +90,7 @@ class AccountDataProvider extends BaseDataProvider
|
|
|
}
|
|
|
$active = $this->formData['status'] === 'active' ? TRUE : FALSE;
|
|
|
try {
|
|
|
- $userID = $api->createUser($domainID, $this->formData['username'], $this->formData['password'], $active);
|
|
|
+ $userID = $api->createUser($domainID, $this->formData['username'], $this->formData['password'], $active)['result'][0]['id'];
|
|
|
} catch (KerioApiException $error) {
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|