[前端] 登出 remove cookie JWT

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

View File

@ -1082,6 +1082,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
onEvent("click", "#logout", function () {
localStorage.removeItem("JWT-Authorization");
cookies.remove("JWT-Authorization");
location.href = "/logout";
});