refactor auto logout messages autohide time 5000

This commit is contained in:
ogerly 2023-04-27 11:52:32 +02:00
parent a4351ba881
commit 6f0b6f094d

View File

@ -67,7 +67,7 @@ export default {
}
if (this.tokenExpiresInSeconds === 0) {
this.$timer.stop('tokenExpires')
this.toastInfoNoHide(this.$t('session.automaticallyLoggedOut'))
this.toastInfo(this.$t('session.automaticallyLoggedOut'))
this.$emit('logout')
}
},
@ -85,7 +85,7 @@ export default {
})
.catch(() => {
this.$timer.stop('tokenExpires')
this.toastInfoNoHide(this.$t('session.automaticallyLoggedOut'))
this.toastInfo(this.$t('session.automaticallyLoggedOut'))
this.$emit('logout')
})
},