How can I properly redirect to my login page from base controller if there is no session set?
This is what I have now in my Base.php file and I get too many redirects error.
My PHP v7.3.10 and Phalcon v4.0.0-RC1
function initialize() {
if (!$this->session->has('auth')) {
$this->response->redirect('/login');
}
}