That's how it's supposed to work. The Auth component just redirects to
$loginRedirect when you access the $loginAction directly becouse it doesn't
have any where else to go.

If you want to redirect somewhere else you can use the auth's or
controller's redirect method after a succesfull login.

On Tue, Jun 24, 2008 at 8:03 PM, deltawing <[EMAIL PROTECTED]> wrote:

>
> I tried setting $loginRedirect in the Auth component but it doesn't
> seem to work. No matter what I set the variable to, Cake will always
> redirect to the last page that I was at prior to logging in.
>
> Anyone have any ideas on why?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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