Fixed log in

This commit is contained in:
Olu Amey
2021-10-11 19:22:14 -04:00
parent cd40ff4dde
commit 38c0937884
3 changed files with 10 additions and 13 deletions
+4
View File
@@ -31,6 +31,10 @@ class Login extends WRB_Controller {
// $res = $this->backend_model->wrenchboard_api($data, $out);
$res = $this->wrenchboard_api($data, $out);
$is_live = $this->backend_model->cfgReadChar("system.live");
// var_dump($out);
// exit;
// print_r($out);
if ($res == PHP_LOGIN_OK) {
$this->load->model('account_model');