Login function and routes

2011-08-09 Thread nOLL
Hi, I have a project that required 3 group which are admin, agents and users. These group will using only one login page. In login page there are username,password and 2 radio button which are members(admin and agents) and user. After login, admin could view fully CMS and dashboard, agents could

Re: Login function and routes

2011-08-09 Thread Sam Sherlock
You don't need the radio buttons at all. http://cakephp.1045679.n5.nabble.com/CakeDC-Users-Plugin-redirect-based-on-role-td3410081.html(see sam bernards comments) http://www.packtpub.com/article/cakephp-authentication-setup-application(roles are mentioned later on) - S On 9 August 2011

Re: Login function and routes

2011-08-09 Thread Mohd Hasnol
Thanks Sam. On Wed, Aug 10, 2011 at 12:53 AM, Sam Sherlock sam.sherl...@gmail.comwrote: You don't need the radio buttons at all. http://cakephp.1045679.n5.nabble.com/CakeDC-Users-Plugin-redirect-based-on-role-td3410081.html(see sam bernards comments)