When I run this conditional in DesktopController, the checkToken() function of the indexController not working, return false.
if (!$this->session->has('id') AND !$this->session->has('docente')) {
$this->response->redirect('ingreso/');
$this->response->send();
}