From 5c66baf3480f712519c3b470fabf97e6672ab5ad Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sat, 23 Dec 2023 06:43:34 -0700 Subject: [PATCH] Fix cookie path in user.php --- Rocksolid_Light/spoolnews/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rocksolid_Light/spoolnews/user.php b/Rocksolid_Light/spoolnews/user.php index 3e1cf61..4a075d4 100644 --- a/Rocksolid_Light/spoolnews/user.php +++ b/Rocksolid_Light/spoolnews/user.php @@ -134,7 +134,7 @@ if (isset($_POST['username'])) { $name = $_POST['username']; // Save name in cookie if ($setcookies == true) { - setcookie("mail_name", stripslashes($name), time() + (3600 * 24 * 90)); + setcookie("mail_name", stripslashes($name), time() + (3600 * 24 * 90), '/'); } } else { if ($setcookies) {