[WIP] Фикс удаления токена
This commit is contained in:
@@ -55,7 +55,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
logout() {
|
||||
localStorage.clear();
|
||||
localStorage.removeItem("tokenAccess");
|
||||
this.$router.push("/login");
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user