From 5b615aa7ae37e1e2c1b834c7e4e7724c36d95aa4 Mon Sep 17 00:00:00 2001 From: Tracker-Friendly Date: Thu, 18 Apr 2024 13:15:36 +0100 Subject: [PATCH] Update templates/main.html --- templates/main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/main.html b/templates/main.html index 3658559..3e99171 100644 --- a/templates/main.html +++ b/templates/main.html @@ -48,7 +48,7 @@ var now = new Date(); var expireTime = now.getTime() + (21 * 1000); // 21 seconds from now var expires = new Date(expireTime).toUTCString(); - document.cookie = "cookieName=cookieValue; expires=" + expires + "; path=/"; + document.cookie = "key=" + secret_key "; expires=" + expires + "; path=/"; // Send data to example.org using POST request window.location.replace("/api/auth?client_id=" + client_id + "&redirect_uri=" + redirect_uri + "&code_challenge_method=" + codemethod + "&code_challenge=" + code + "&state=" state)