From a00f368f465db18a4ad422f312681a2b5a3c0aaa Mon Sep 17 00:00:00 2001 From: dev01 Date: Thu, 5 Oct 2023 18:25:42 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=89=8D=E7=AB=AF]=20=E7=99=BB=E5=87=BA=20rem?= =?UTF-8?q?ove=20cookie=20JWT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Frontend/index.html b/Frontend/index.html index 931d20d..10c08ea 100644 --- a/Frontend/index.html +++ b/Frontend/index.html @@ -1081,7 +1081,8 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li }); onEvent("click", "#logout", function () { - localStorage.removeItem("JWT-Authorization"); + localStorage.removeItem("JWT-Authorization"); + cookies.remove("JWT-Authorization"); location.href = "/logout"; });