Add missing method to match Laravel 11 interface

This commit is contained in:
Bubka 2024-06-26 14:34:22 +02:00
parent 32c3d0f605
commit 58097d2f36

View File

@ -129,4 +129,17 @@ public function validateCredentials(Authenticatable $user, array $credentials)
{
throw new Exception(sprintf('No implementation for %s', __METHOD__));
}
/**
* Rehash the user's password if required and supported.
*
* @param \Illuminate\Contracts\Auth\Authenticatable $user
* @param array $credentials
* @param bool $force
* @return void
*/
public function rehashPasswordIfRequired(Authenticatable $user, array $credentials, bool $force = false)
{
throw new Exception(sprintf('No implementation for %s', __METHOD__));
}
}