Log the user out if the token could not be renewed

This commit is contained in:
kolaente 2020-12-15 12:30:02 +01:00
parent a6f69ff459
commit 51bbad9794
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -185,6 +185,7 @@ export default {
.catch(e => {
// eslint-disable-next-line
console.log('Error renewing token: ', e)
ctx.dispatch('logout')
})
},
logout(ctx) {