Skip to content

Commit

Permalink
chore: Correct casing when dealing with cookie resolver options
Browse files Browse the repository at this point in the history
  • Loading branch information
ollieread committed Dec 23, 2024
1 parent bd2e402 commit e8e89e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Http/Resolvers/CookieIdentityResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,12 @@ private function getCookieDetails(array $details): array
$details['secure'] = $this->options['secure'];
}

if (isset($this->options['httpOnly'])) {
$details['httpOnly'] = $this->options['httpOnly'];
if (isset($this->options['http_only'])) {
$details['http_only'] = $this->options['http_only'];
}

if (isset($this->options['sameSite'])) {
$details['sameSite'] = $this->options['sameSite'];
if (isset($this->options['same_site'])) {
$details['same_site'] = $this->options['same_site'];
}

return $details;
Expand Down

0 comments on commit e8e89e0

Please sign in to comment.