From 58097d2f367fa9ff00b178195f1482eb942a57b5 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Wed, 26 Jun 2024 14:34:22 +0200 Subject: [PATCH] Add missing method to match Laravel 11 interface --- app/Extensions/RemoteUserProvider.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/Extensions/RemoteUserProvider.php b/app/Extensions/RemoteUserProvider.php index 46d516ac..82cc0541 100644 --- a/app/Extensions/RemoteUserProvider.php +++ b/app/Extensions/RemoteUserProvider.php @@ -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__)); + } }