diff --git a/frontend/views/Login.vue b/frontend/views/Login.vue index 877f91e..c4982bc 100644 --- a/frontend/views/Login.vue +++ b/frontend/views/Login.vue @@ -58,7 +58,9 @@ export default { }) .then(user => { this.$store.commit('setUser', user) - this.$router.push('/') + api.changeDir({ + to: '/' + }).then(() => this.$router.push('/')) }) .catch(error => { if (error.response && error.response.data) {