[前端] 登出 remove cookie JWT

This commit is contained in:
dev01 2023-10-05 18:25:42 +08:00
parent 9a3b098ee0
commit a00f368f46

View File

@ -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";
});