This commit is contained in:
Milos Stojanovic
2020-02-27 09:20:46 +01:00
parent fd2d3d2f92
commit 165093b9c5
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ export default {
api.getUser()
.then(user => {
this.$store.commit('setUser', user)
this.$router.push('/login')
this.$router.push('/')
})
.catch(() => {
this.$store.commit('initialize')