* Return id when create object by API.
This commit is contained in:
@@ -280,6 +280,7 @@ class sso extends control
|
||||
if($_POST)
|
||||
{
|
||||
$result = $this->sso->createUser();
|
||||
if($this->viewType == 'json') $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'id' => $result['id']));
|
||||
if($result['status'] != 'success') die($result['data']);
|
||||
die('success');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user