|
@@ -65,6 +65,7 @@ const Model: LoginModelType = {
|
|
logout() {
|
|
logout() {
|
|
localStorage.removeItem("success");
|
|
localStorage.removeItem("success");
|
|
localStorage.removeItem("authorization");
|
|
localStorage.removeItem("authorization");
|
|
|
|
+ localStorage.removeItem("authorization_refresh");
|
|
const {redirect} = getPageQuery();
|
|
const {redirect} = getPageQuery();
|
|
// Note: There may be security issues, please note
|
|
// Note: There may be security issues, please note
|
|
if (window.location.pathname !== '/user/login' && !redirect) {
|
|
if (window.location.pathname !== '/user/login' && !redirect) {
|