TASK-289 Show attributes and filter in searh AD LDAP
This commit is contained in:
@@ -336,7 +336,14 @@ class AuthSources
|
||||
$arrayData[] = $listUsersData;
|
||||
}
|
||||
|
||||
return ['success' => true, 'status' => 'OK', 'resultTotal' => $result['numRecTotal'], 'resultRoot' => $arrayData];
|
||||
$response = [
|
||||
'success' => true,
|
||||
'status' => 'OK',
|
||||
'resultTotal' => $result['numRecTotal'],
|
||||
'resultRoot' => $arrayData,
|
||||
'context' => $result['context']
|
||||
];
|
||||
return $response;
|
||||
} catch (Exception $exception) {
|
||||
return ['success' => false, 'message' => $exception->getMessage()];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user