Ejemplo n.º 1
0
 public function needAuthenticate()
 {
     if (!$this->EmployeeAuthentication->authenticated()) {
         header('Location: /admin/modules/employees/authorization');
         exit;
     }
 }
Ejemplo n.º 2
0
 public function authenticated()
 {
     return $this->EmployeeAuthentication->authenticated();
 }