fix siteid cookie to secure
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
$site = filter_input(INPUT_POST, 'site', FILTER_SANITIZE_STRING); // GET SANITARY SITE CHOICE
|
||||
setcookie ( 'app_site', $site, [
|
||||
'expires' => time() + 60*60*24*90,
|
||||
'secure' => false,
|
||||
'httponly' => false,
|
||||
'secure' => true,
|
||||
'httponly' => true,
|
||||
'samesite' => 'Strict',
|
||||
]);
|
||||
//setcookie ( 'app_site', $site, time() + 60*60*24*90); // SET SITE COOKIE
|
||||
|
||||
Reference in New Issue
Block a user