From b989985049aa488fa3c4f0b878e1c27e917d2cd9 Mon Sep 17 00:00:00 2001 From: Steve Bauman Date: Fri, 12 Apr 2024 16:02:38 -0400 Subject: [PATCH] Fix conditional --- src/Auth/DatabaseUserProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth/DatabaseUserProvider.php b/src/Auth/DatabaseUserProvider.php index 31a1762..1c9b9b7 100644 --- a/src/Auth/DatabaseUserProvider.php +++ b/src/Auth/DatabaseUserProvider.php @@ -206,7 +206,7 @@ public function validateCredentials(Authenticatable $user, array $credentials): */ public function rehashPasswordIfRequired(Authenticatable $user, array $credentials, bool $force = false): void { - if (($this->synchronizer->getConfig()['password_column'] ?? 'password') === false) { + if (($this->synchronizer->getConfig()['password_column'] ?? 'password') !== false) { $this->eloquent->rehashPasswordIfRequired($user, $credentials, $force); } }