Log the user out if the token could not be renewed
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2020-12-15 12:30:02 +01:00
parent a6f69ff459
commit 51bbad9794
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

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) {