This commit is contained in:
Olusesan Ameye
2020-11-26 23:36:11 -05:00
parent f79a5ddca8
commit 8d297ce1ad
9 changed files with 238 additions and 67 deletions
@@ -21,6 +21,18 @@ class Register extends Web_Controller {
$data["password"] = $this->input->post('password');
$data["username"] = $this->input->post('username');
$data['action'] = MERMS_PROVIDERS_STARTPRACTICE;
$this->load->model('backend_model');
$out = array();
$res = $this->backend_model->mermsemr_api($data, $out);
$loginReturn = false;
if ( $res==PHP_LOGIN_OK && isset($out["practice_id"]) && $out["practice_id"] > 0 ){
}
$this->renderExternalPage('register', $data);
}