New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session object not present in AuthComponent #3776
Comments
Looks like the issue is that |
AuthComponent is being loaded on the fly here. You need to set the |
It would be even better if AuthComponent's constructor did the right thing for you, and built a usable object. I will look into making that happen. |
The components get request and response objects from controller instance which isn't available in it's constructor. |
My bad, actually it can get the controller using collection's |
Ok, that fixed the original problem, but something still seems to be wrong:
CakePHP commit id b04a413 |
Probably a missing use statement. |
I'm trying to use the Auth component and get this error:
CakePHP commit id is bff4cb8, the code I'm testing this with is here https://github.com/burzum/cakephp-user-tools
The text was updated successfully, but these errors were encountered: