fix modal, logout & start todo front

This commit is contained in:
2020-04-25 10:16:17 +02:00
parent 3dc00ec768
commit e1d9c02c5e
9 changed files with 131 additions and 36 deletions

View File

@@ -37,18 +37,6 @@
...mapGetters({
authUser: 'authUser',
})
},
methods: {
logout: function () {
axios.post('logout')
.then(res => {
if(res.status ===302 || 401) {
window.location.href = '/login'
}
}).catch(error => {
})
}
}
}
</script>