Hello,

     I have a requirement, I have two logins .. one for normal users and one 
for administrators. I have two login pages separately. In my users' controller, 
I have login() and adminlogin() actions. For normal users I want to use users 
table to check the username and password, and for administrator, i want to use 
users table and groups table. groups table is the user groups such as admin and 
www. How can i do validation using Auth for both in users controller.

 

Thanks,

Bharani

_________________________________________________________________
HotmailĀ® has a new way to see what's up with your friends.
http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009
--~--~---------~--~----~------------~-------~--~----~
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