Cakephp V4.1.4
Php 7.3 / MariaDB latest version (migration and new server since 3 weeks.)
After a migration from 3.6 to 4.1, Auth component seem breaked.
I have this message : Support for loading components using $components property is removed. Use $this->loadComponent() instead in initialize()
I use Legacy for another hasher, and component is correctly loaded on AppController.php like this :
$this->loadComponent(‘Auth’, [
‘authenticate’ => [
‘Form’ => [
‘passwordHasher’ => [
‘className’ => ‘Legacy’,
]
]
]
]);
I have two projects, and only this one is breaked. The other run perfectly. Both are on Cakephp 4.1.4.
Regards,