From 7cc2534f9183bb3116b19ffca52789f1f50900f7 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 6 May 2025 00:56:04 +0500 Subject: feat: account registration and login --- public/account/login/twitch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/account/login/twitch.php') diff --git a/public/account/login/twitch.php b/public/account/login/twitch.php index 05093cd..e3fe57a 100644 --- a/public/account/login/twitch.php +++ b/public/account/login/twitch.php @@ -129,7 +129,7 @@ if ($row = $stmt->fetch()) { $_SESSION["user_id"] = $user_id; $_SESSION["user_name"] = $user_name; -setcookie("secret_key", $user_secret_key, time() + 86400 * 30, "/"); +setcookie("secret_key", $user_secret_key, time() + ACCOUNT_COOKIE_MAX_LIFETIME, "/"); $db = null; -- cgit v1.2.3