After adding Auth component while accessing the home page it redirects to login page
ie., let http://www.domain.com is my url.
After adding the auth component when i try to access http://www.domain.com it redirects to http://www.domain.com/logins/login.
how can i avoid this initial redirection??
i already given a route as below
Router::connect('/', array(
'controller' => 'pages', 'action' => 'display', 'home'
));
but no use
thankz in advance
In AppController::beforeFilter() add the following:
UPDATE:
allowedActionsare controller actions for which user validation is not required.http://api.cakephp.org/2.4/source-class-AuthComponent.html#228-234