Skip to content

Commit dadd227

Browse files
authored
Allow nullable $passwordHash (#582)
1 parent f13693d commit dadd227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Middleware/AuthenticateSession.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,6 @@ protected function validatePasswordHash(SessionGuard $guard, ?string $passwordHa
124124
}
125125

126126
// Fall back to raw password hash format for backward compatibility...
127-
return hash_equals($passwordHash, $storedValue);
127+
return hash_equals($passwordHash ?? '', $storedValue);
128128
}
129129
}

0 commit comments

Comments
 (0)