mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-03-30 00:46:05 +01:00
Add missing method to match Laravel 11 interface
This commit is contained in:
parent
32c3d0f605
commit
58097d2f36
@ -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__));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user