We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

How to redirect to login page

Hi I don't know how to redirect to a login page if a user is not logged then it won't allow him/her to access inner pages

edited Aug '14
return $this->response->redirect("controller/action");

controller/action normally will be login (if you have like that)