After upgrading to CakePHP 5.x and CakeDC users plugin 16.0.0, we get the following warning:
2026-01-28 14:00:15 warning: Error saving user id 1 password after rehashing: identifier Password not found. Check your Auth.PasswordRehash.identifiers configuration.
After upgrading to CakePHP 5.x and CakeDC users plugin 16.0.0, we get the following warning:
The line triggering this warning is:
https://github.com/CakeDC/users/blob/16.0.0/src/Controller/Component/LoginComponent.php#L196
The reason for this warning is that the CakeDC users plugin default configuration contains deprecated configuration:
https://github.com/CakeDC/users/blob/16.0.0/config/users.php#L287
According to the code https://github.com/CakeDC/users/blob/16.0.0/src/Controller/Component/LoginComponent.php#L206-L207
the new way should have configuration set under
Auth.PasswordRehash.authenticators