Skip to content

Commit

Permalink
Merge branch '9.x'
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
#	src/Illuminate/Foundation/Application.php
  • Loading branch information
driesvints committed Jan 5, 2023
2 parents 98161f2 + d2a65e1 commit 53b35f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion EloquentUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ public function retrieveByCredentials(array $credentials)
*/
public function validateCredentials(UserContract $user, array $credentials)
{
$plain = $credentials['password'];
if (is_null($plain = $credentials['password'])) {
return false;
}

return $this->hasher->check($plain, $user->getAuthPassword());
}
Expand Down

0 comments on commit 53b35f6

Please sign in to comment.