fix siteid cookie to secure

This commit is contained in:
2021-10-18 10:38:41 -04:00
parent 9e70cb193d
commit 5caac014df
27 changed files with 31 additions and 30 deletions

View File

@@ -20,8 +20,8 @@
// only works with new php?
setcookie ( 'app_disp_lang', $app_disp_lang, [
'expires' => time() + 60*60*24*90,
'secure' => false,
'httponly' => false,
'secure' => true,
'httponly' => true,
'samesite' => 'Strict',
]);
//setcookie ( 'app_disp_lang', $app_disp_lang, time() + 60*60*24*90); // SET SITE COOKIE