CakePHP 5 custom authentication, PasswordHasher

It works! Thank you very-very much for your help! You are a Wizard. :pray:

I write for others and later for me, not need this:

$authenticationService->setConfig([
  'passwordHasher' => [
    'className' => PhpassPasswordHasher::class
  ]
]);

Just so you know how I found this:

The AuthenticationService does not contain such a PasswordHasher config:

Only the PasswordIdentifier does:

1 Like