These should be the urls for the DESTINATION after you login or
logout, not the pages themself:

$this->Auth->loginRedirect = array('controller' =>
'personas', 'action' => 'display', 'login');

$this->Auth->logoutRedirect = array('controller' =>
'personas', 'action' => 'logout');

Remove these two lines since you arent using it:

$this->Auth->authorize = 'controller';

$this->Session->write('Auth.redirect', null);
--~--~---------~--~----~------------~-------~--~----~
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