On 2 Jul, 16:54, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> Hmmm.. shouldn't it be:
>
> $this->Auth->loginRedirect = array('controller' => 'users'); // no
> action
> $this->Auth->logoutRedirect = '/'; // no array

I'm sure you're right, but the manual says this:

    $this->Auth->loginRedirect = array('controller' => 'members',
'action' => 'home');
    $this->Auth->logoutRedirect = array('admin' => false, 'controller'
=> 'members', 'action' => 'logout');

Troublesome blighter to get set up, this one. I heartily recommend
Chris Hartjes posts on this subject.

http://www.littlehart.net/atthekeyboard/2007/09/11/a-hopefully-useful-tutorial-for-using-cakephps-auth-component/
http://www.littlehart.net/atthekeyboard/2007/11/20/follow-up-to-a-hopefully-usefull-tutorial-for-using-cakephps-auth-component/

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

Reply via email to