[前端] 登出 cookie remove JWT
This commit is contained in:
parent
18746d5a42
commit
042b41b161
@ -1164,6 +1164,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
|
||||
localStorage.removeItem("JWT-Authorization");
|
||||
sessionStorage.removeItem("pageAct");
|
||||
sessionStorage.removeItem("lastPage");
|
||||
cookies.remove("JWT-Authorization");
|
||||
location.href = "/logout";
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user