set samesite cookie attribute to strict

This commit is contained in:
ProjectPatatoe 2021-04-14 14:05:46 -07:00
commit 496995159f
2 changed files with 2 additions and 1 deletions

View file

@ -222,7 +222,7 @@ if(from($_SERVER,'QUERY_STRING') == "rewriteRule.html")
echo "YES!";
die();
}
session_set_cookie_params(['samesite' => 'Strict']);
session_start();
new Settings;