Skip to content

Commit

Permalink
Fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Apr 12, 2024
1 parent 3f20a04 commit b989985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth/DatabaseUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit b989985

Please sign in to comment.