I suggest to use a single model and separate the users using groups... Em sexta-feira, 19 de abril de 2013 12h39min38s UTC-3, Alex Bovey escreveu: > > Hi all, > > What's the best technique to use if I have two separate areas of my site > and I want the Auth component to use two separate models to log in to those > areas? > > I have tried setting the $this->Auth->authenticate['Form']['userModel'] > from the controller but that doesn't seem to have any effect... > > Thanks all, > > Alex > > -- > Alex Bovey > Web Developer | Alex Bovey Consultancy Ltd > Registered in England & Wales no. 6471391 | VAT no. 934 8959 65 > [email protected] <javascript:> | t 0844 567 8995 | m 07828 649386 | f > 0870 288 9533 > PHP | CakePHP | MySQL | jQuery | HTML5 | CSS3 | Drupal | Wordpress | > Hosting >
-- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
