Wednesday, November 2, 2011

Re: AuthComponent - Multiple Setups

No... I have two separated prefixes, one called "aluno" (model Student) and other called "admin" (model User).

I want to create separate authenticatated areas, and a logged user can't access both.

That's why I created two AuthComponent configurations, using different models and options.

But at version 2.0 if your're already logged you have access to every AuthComponent configuration, even if the SessionKey change... Looks like a bug to me.

Regards,
--
Thiago Belem
Desenvolvedor
Rio de Janeiro - RJ - Brasil

+55 (21) 8865.9250
thiagobelem.net
contato@thiagobelem.net

Skype / gTalk » thiago.belem.web
LinkedIn » br.linkedin.com/in/thiagobelem/pt
Assando Sites
, curso de CakePHP » assando-sites.com.br


2011/11/2 Điển vũ <meotimdihia@gmail.com>
Edit: Do you mean : Admin to the Student login screen if I can't find a Admin ?

--
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+unsubscribe@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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: