diff --git a/lib/Froxlor/UI/Panel/UI.php b/lib/Froxlor/UI/Panel/UI.php index 3cec80f807..ebad473850 100644 --- a/lib/Froxlor/UI/Panel/UI.php +++ b/lib/Froxlor/UI/Panel/UI.php @@ -121,7 +121,7 @@ public static function sendHeaders() 'domain' => self::getCookieHost(), 'secure' => self::requestIsHttps(), 'httponly' => true, - 'samesite' => 'Strict' + 'samesite' => 'Lax' ]); session_start(); diff --git a/lib/init.php b/lib/init.php index c4cc5bdcb9..ee61f5b879 100644 --- a/lib/init.php +++ b/lib/init.php @@ -374,7 +374,7 @@ 'domain' => UI::getCookieHost(), 'secure' => UI::requestIsHttps(), 'httponly' => true, - 'samesite' => 'Strict' + 'samesite' => 'Lax' ]; setcookie(session_name(), $_COOKIE[session_name()], $cookie_params); } else {