On Mon, Sep 14, 2009 at 9:48 AM, cakephp_rocks
<rockie_rah...@hotmail.com> wrote:
>
> this is in my app controller
>
> function beforeFilter( ) {
>        parent::beforeFilter();
>                $this->Auth->loginAction = array('admin' => false, 
> 'controller' =>
> 'users', 'action' => 'login');
>                $this->Auth->loginRedirect = '/';
>                $this->Auth->logoutRedirect = '/';
>

Sorry, I missed this thread. Do you also have your own login() method
in UsersController or are you just going with Cake's default action?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to