Log the user out if the token could not be renewed
This commit is contained in:
parent
a6f69ff459
commit
51bbad9794
@ -185,6 +185,7 @@ export default {
|
||||
.catch(e => {
|
||||
// eslint-disable-next-line
|
||||
console.log('Error renewing token: ', e)
|
||||
ctx.dispatch('logout')
|
||||
})
|
||||
},
|
||||
logout(ctx) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user