diff --git a/web/html-service.php b/web/html-service.php index 495588aa..94a05f39 100644 --- a/web/html-service.php +++ b/web/html-service.php @@ -68,7 +68,7 @@ class HtmlService extends Service { $domain = explode(':', $_SERVER['HTTP_HOST'])[0]; setcookie('vnVersion', $this->getVersion()->toString(), [ - 'samesite' => 'Lax', + //'samesite' => 'Lax', 'domain' => $domain ]); diff --git a/web/service.php b/web/service.php index 97e19a4e..b1f78da8 100644 --- a/web/service.php +++ b/web/service.php @@ -127,7 +127,7 @@ abstract class Service { $domain = explode(':', $_SERVER['HTTP_HOST'])[0]; setcookie('vnVisit', $row['visit'], [ 'expires' => time() + 31536000, // 1 Year - 'samesite' => 'Lax', + //'samesite' => 'Lax', 'domain' => $domain ]); $_SESSION['access'] = $row['access'];