Friday, November 20, 2015

Re: CakePHP 3 Auth

Change the session key when configuring the Auth component. Those properties where removed

On Wednesday, November 11, 2015 at 3:55:14 PM UTC+1, Rafael Queiroz wrote:
Hi guys,

I have problem using CakePHP 3.1.x and Auth, follows my scenario:

1. Using CakeDC/Users for Auth in AppController for my public, that's fine.
2. Using Auth and Administrators model for AdminAppController, i'm using prefix routes admin for my Manager.

My problem is conflict in Session, in CakePHP 2.x, i'm using AuthComponent::$sessionKey = 'Administrator' for point 2.
I don't can use similar solution in CakePHP 3, the CakePHP 3, any ideas ? Thanks.

--
Regards,

Rafael F. Queiroz

--
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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: