Respect the hashing.rehash_on_login setting introduced in laravel 11
Laravel 11 introduced new functionality where it will rehash a user's password on each login unless the config hashing.rehash_on_login is set to false.
We don't use passwords as we only do single sign on.
This passes the setting to the guard created in ImpersonateServiceProvider.
I've had an issue with this too when setting hashing.rehash_on_login to false, and would like to see this merged.
@MarceauKa One note: since this PR uses a PHP named argument, it will require minimum PHP ^8.0, dropping support for ^7.2.
@MarceauKa One note: since this PR uses a
PHP named argument, it will require minimum PHP^8.0, dropping support for^7.2.
I can re-do it so support 7.2 if you'd like.
@MarceauKa One note: since this PR uses a
PHP named argument, it will require minimum PHP^8.0, dropping support for^7.2.
I re-did the pull request to support PHP 7.2.