use 1 table for users (all users) and create one field in table for who
they are, e.g.: field_name can be group

and for 1 user you have "tutor" and second is "student"

--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2012/1/28 Cédric Chabert <ced.chab...@gmail.com>

> Hi everyone,
>
> I am a beginner with CakePhp. (2.0)
>
> I have two kind of users : Tutors and Students.
>
> So how can i handle the authentication with cakePHP method.
>
> Can i use only one table ? => $this->Auth->userModel = ' ';
>
> I am french, so please excuse for my english.
>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> 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
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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

Reply via email to