Dash page logou

This commit is contained in:
2019-03-02 18:55:16 +00:00
parent e93f5e34c7
commit cb91050361
2 changed files with 11 additions and 30 deletions
@@ -14,7 +14,10 @@ class Login extends Web_Controller {
$data['username'] = trim($this->input->post('username'));
$data['pass'] = htmlspecialchars($this->input->post('pass'));
//$this->load->view('provider/dash');
$this->renderProviderSecurePage('dash',$data);
$loginResult = $this->loginUser($data, $outData);
if (true == $loginResult) {
$this->renderProviderSecurePage('dash', $data);
}
} else {
//$this->load->view('welcome_message');
// $this->load->view('provider/dash');