Hi

Thanks for your suggestion Alexandru. I set autoRedirect to false in
my UsersController beforeFilter; but this has no effect either. Users
still get redirected back to home.ctp after login.

David

On Aug 25, 4:25 pm, Alexandru Ciobanu <ics.cake...@gmail.com> wrote:
> On 8/25/2009 3:14 PM, DavidH wrote:> Hi All
>
> > I'm still trying to put together a login system of admin and normal
> > users. It's pretty much working OK; but for some reason I can't fathom
> > when a user logs in they don;t get refdirected to the page specified
> > in Auth->loginRedirect(). Instead they end up back at the app root
> > page.
>
> Set autoRedirect to false, it defaults to true.
>
> e.i. $this->Auth->autoRedirect = false;
>
> http://api.cakephp.org/class/auth-component
--~--~---------~--~----~------------~-------~--~----~
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