Looks like i've found the problem: the propety sessionKey of AuthComponent
is defined as static... So even if i try to change it on my AppController
it simply doesn't work for the next verifications.
I've submited a ticket on the lighthouse:
http://cakephp.lighthouseapp.com/projects/42648-cakep
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 v
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
I'm using the *AuthComponent* to control the access to two prefixes:
"admin" and "student".
I'm changing the AuthComponent configuration (model, fields, userScope,
loginAction and even sessionKey) on AppController::beforeFilter() but once
i'm logged with one user Model at "admin', AuthComponent sa