Skip to content

Commit de4021b

Browse files
phpstan fixes
1 parent 9e62356 commit de4021b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Auth/Source/SQL2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ protected function login(
482482
}
483483
}
484484

485-
if (($passwordHash === null) || (!password_verify($password, $passwordHash))) {
485+
if ($passwordHash == null || (!password_verify($password, $passwordHash))) {
486486
Logger::error('sqlauth:' . $this->authId . ': Auth query ' . $queryname .
487487
' password verification failed');
488488
/* Authentication with verify_password() failed, however that only means that

0 commit comments

Comments
 (0)