Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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



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

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