We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In AppController when i replace
$this->loadComponent('Auth', [ 'authorize' => 'Controller', 'storage' => 'Session', ]);
to
$this->loadComponent('Auth', [ 'authenticate' => [ 'RememberMe.Cookie' => [ 'userModel' => 'Users', 'fields' => ['username' => 'email'], 'inputKey' => 'remember_me', ], // ... other authenticater config ], // ... other auth component config ]);
it fails to identify the user.
The text was updated successfully, but these errors were encountered:
In the setting after replacement, it may be a problem that the field used for authentication is email.
email
If you are using the Auth component in the first setting, you should do it as follows:
$this->loadComponent('Auth', [ 'authenticate' => [ 'RememberMe.Cookie', ], 'authorize' => 'Controller', 'storage' => 'Session', ]);
Sorry, something went wrong.
No branches or pull requests
In AppController
when i replace
to
it fails to identify the user.
The text was updated successfully, but these errors were encountered: