Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Http/Middleware/AuthenticateSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ protected function storePasswordHashInSession($request, string $guard)
* Validate the password hash against the stored value.
*
* @param \Illuminate\Auth\SessionGuard $guard
* @param string $passwordHash
* @param string|null $passwordHash
* @param string $storedValue
* @return bool
*/
protected function validatePasswordHash(SessionGuard $guard, string $passwordHash, string $storedValue): bool
protected function validatePasswordHash(SessionGuard $guard, ?string $passwordHash, string $storedValue): bool
{
// Try new HMAC format first (Laravel 12.45.0+)...
if (method_exists($guard, 'hashPasswordForCookie')) {
Expand Down