modified redirect after logout

This commit is contained in:
konrad 2017-11-20 15:44:03 +01:00 committed by kolaente
parent 9dba174ceb
commit 7a1c5f7334
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ export default {
logout () {
localStorage.removeItem('token')
router.push({ name: 'home' })
router.push({ name: 'login' })
this.user.authenticated = false
},