I have created a CakePHP app where I have created a UsersController
, which handles all about users.
When I try to browse www.mydomain.com
, if I am logged in, it let's me see the index (app/View/Pages/home.ctp
). Else, it redirects me to mydomain.com/users/login
and persists to log in.
I have tried looking at AppController.php
, PagesController.php
or app/Config/core.php
and app/Config/routes.php
, but did not find anything. My UsersController.php
, also, is not responsible for that, I think.
I do not remember and I cannot find how to disable this. Which file should be responsible for that?
EDIT:my CakePHP version is 2.3.
See Question&Answers more detail:os