Re: CakePHP 3 Auth

2015-11-20 Thread José Lorenzo
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 *A

CakePHP 3 Auth

2015-11-11 Thread Rafael Queiroz
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 *con

Re: CakePHP 3 Auth with two tables (models)

2015-10-07 Thread John Andersen
Make both your admins and applicants users, ie. in the users table. Use an additional table to keep information about users (applicants). Assign roles to your users, to indicate whether they are admins or applications. This can be done by having the role defined as a field in the users table or

CakePHP 3 Auth with two tables (models)

2015-10-06 Thread Hagler
I have two tables in my database, one for admins (named users) and the other one for normal users, (named applicants). Both tables use email and password for authentication, but applicants' table has more fields, that's why I need the separation. What I want to do, is create two login pages, on