I'm working on a plugin for acl and authentication.  When someone goes
to a page, if they haven't logged in yet, they are redirected to my
authentication plugin.  When they successfully authenticate, they are
redirected back to the original page they tried to view.  To do this,
when they are redirected to the auth page, I also pass the controller
and action.  Redirecting back to the original page works fine EXCEPT
when the original page is an admin page.  The controller gets passed
as admin_index.  On redirect, they end up at /tickets/admin_index/
instead of /admin/tickets/index, which doesn't work.

I understand why this is happening.  Anybody have a suggestion on how
I can fix it, or maybe a better way to redirect back to the calling
page?

Thanks!
hydra12


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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