Skip to content

Commit

Permalink
Fix default value for samesite cookies property
Browse files Browse the repository at this point in the history
  • Loading branch information
faf committed Aug 30, 2021
1 parent 756014d commit 3b3abe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mibew/libs/classes/Mibew/Http/CookieFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function createCookie($name, $value = null, $expire = 0, $http_only = tru
$this->isSecure(),
$http_only,
true,
!$same_site && $this->isSecure() ? 'None' : false
!$same_site && $this->isSecure() ? 'None' : 'Lax'
);
}

Expand Down

0 comments on commit 3b3abe6

Please sign in to comment.