Encrypt fixes, add carnum options, remove debug lines
This commit is contained in:
parent
9cd8dc3031
commit
1ead81a2b4
@ -21,7 +21,7 @@
|
|||||||
setcookie ( 'app_disp_lang', $app_disp_lang, [
|
setcookie ( 'app_disp_lang', $app_disp_lang, [
|
||||||
'expires' => time() + 60*60*24*90,
|
'expires' => time() + 60*60*24*90,
|
||||||
'secure' => false,
|
'secure' => false,
|
||||||
'httponly' => true,
|
'httponly' => false,
|
||||||
'samesite' => 'Strict',
|
'samesite' => 'Strict',
|
||||||
]);
|
]);
|
||||||
//setcookie ( 'app_disp_lang', $app_disp_lang, time() + 60*60*24*90); // SET SITE COOKIE
|
//setcookie ( 'app_disp_lang', $app_disp_lang, time() + 60*60*24*90); // SET SITE COOKIE
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
setcookie ( 'app_site', $site, [
|
setcookie ( 'app_site', $site, [
|
||||||
'expires' => time() + 60*60*24*90,
|
'expires' => time() + 60*60*24*90,
|
||||||
'secure' => false,
|
'secure' => false,
|
||||||
'httponly' => true,
|
'httponly' => false,
|
||||||
'samesite' => 'Strict',
|
'samesite' => 'Strict',
|
||||||
]);
|
]);
|
||||||
//setcookie ( 'app_site', $site, time() + 60*60*24*90); // SET SITE COOKIE
|
//setcookie ( 'app_site', $site, time() + 60*60*24*90); // SET SITE COOKIE
|
||||||
|
@ -34,7 +34,7 @@ class csrf {
|
|||||||
setcookie ( self::makeCookieName($page), $token->cookietoken, [
|
setcookie ( self::makeCookieName($page), $token->cookietoken, [
|
||||||
'expires' => $token->expiry,
|
'expires' => $token->expiry,
|
||||||
'secure' => false,
|
'secure' => false,
|
||||||
'httponly' => false,
|
'httponly' => true,
|
||||||
'samesite' => 'Strict',
|
'samesite' => 'Strict',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user