laravel-impersonate icon indicating copy to clipboard operation
laravel-impersonate copied to clipboard

Respect the hashing.rehash_on_login setting introduced in laravel 11

Open tjarrett opened this issue 1 year ago • 4 comments

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.

tjarrett avatar Aug 07 '24 16:08 tjarrett

I've had an issue with this too when setting hashing.rehash_on_login to false, and would like to see this merged.

dylanbr avatar Nov 04 '24 14:11 dylanbr

@MarceauKa One note: since this PR uses a PHP named argument, it will require minimum PHP ^8.0, dropping support for ^7.2.

drbyte avatar Feb 04 '25 19:02 drbyte

@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.

tjarrett avatar Mar 31 '25 12:03 tjarrett

@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.

tjarrett avatar Apr 02 '25 12:04 tjarrett