Skip to content

Commit

Permalink
Manual Login Problem fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ronisaha authored Feb 6, 2019
1 parent 3bcdd68 commit cb8d577
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/Ezrbac.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ public function registerUserSession($user, $remember = FALSE)
throw new Exception('The user not found!');
}
}
$success = $this->ezlogin->register_session($user, $remember);
$success = $this->CI->ezlogin->register_session($user, $remember);

if (!$success) {
throw new Exception($this->ezlogin->getError());
throw new Exception($this->CI->ezlogin->getError());
}

return TRUE;
Expand Down Expand Up @@ -215,4 +215,4 @@ public function logoutUrl()
{
return $this->CI->ezuri->logout();
}
}
}

0 comments on commit cb8d577

Please sign in to comment.