Fix default value for samesite cookies property

This commit is contained in:
Fedor A. Fetisov 2021-08-30 19:06:57 +03:00
parent 756014d568
commit 3b3abe615d

View File

@ -101,7 +101,7 @@ class CookieFactory
$this->isSecure(), $this->isSecure(),
$http_only, $http_only,
true, true,
!$same_site && $this->isSecure() ? 'None' : false !$same_site && $this->isSecure() ? 'None' : 'Lax'
); );
} }