Hi,
I have a project setup to authorise access to both admin pages (admin
routes) and public pages using different groups for acess levels (eg
user and admin)
everything works fine - except i want to be able to redirect to 2
different pages (areas) for admin or users on login so for example
users would goto mysite.com/protectedcontent and admin users would
redirect to mysite.com/admin
At the moment my controller for this simply has a blank login function
(which is all it needs to work with the auth componant) eg:
function login()
{
}
my question basically is what do i need to add to this to get the
redirects working as above?
Cheers, Quentin.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---