I noticed that if I set $this->Auth->loginRedirect to a certain url
(i.e. /posts/index) it is not considered after a successfully login
operation. Instead, it redirects to '/' location.

The strange thing is that I noticed that if you call twice the login
action (logging in twice one after the other), the correct location if
reached with the redirect ($this->Auth->loginRedirect).

I use $this->Auth->authorize = 'controller'; and standard setting to
obtain an admin panel.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to