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.
In AppController
when i replace
to
it fails to identify the user.