mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-11 23:46:35 -04:00
For #3749, added the exit() statement after the header was updated.
This commit is contained in:
@@ -31,6 +31,7 @@ class Secure_Controller extends BaseController
|
||||
if(!$this->employee->is_logged_in())
|
||||
{
|
||||
header("Location:".base_url('login'));
|
||||
exit();
|
||||
}
|
||||
|
||||
$logged_in_employee_info = $this->employee->get_logged_in_employee_info();
|
||||
|
||||
Reference in New Issue
Block a user