Have a look at the Auth session key. It ought to have a ['User'] key. I have
noticed that on occasions it gets a ['User']['User'] key when doing a manual
login. If that's the case, you just need to check the shape of the array you
pass in to the login function. Might not be the answer, but I've
Hi, people!
I'm doing a manual login action, where i find the user based on your
username (findByUsername).
If the user exists, i want to force login the user to the AuthComponent.
Else, i register the user (success).
When i try to force the login of the user, i have a some kind of bug:
I try