mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-12 23:35:50 +00:00
remove changes, hide automatic logout toaster after login
This commit is contained in:
parent
72f101ecc2
commit
ef8c619512
@ -67,7 +67,7 @@ export default {
|
||||
}
|
||||
if (this.tokenExpiresInSeconds === 0) {
|
||||
this.$timer.stop('tokenExpires')
|
||||
this.toastInfo(this.$t('session.automaticallyLoggedOut'))
|
||||
this.toastInfoNoHide(this.$t('session.automaticallyLoggedOut'))
|
||||
this.$emit('logout')
|
||||
}
|
||||
},
|
||||
@ -85,7 +85,7 @@ export default {
|
||||
})
|
||||
.catch(() => {
|
||||
this.$timer.stop('tokenExpires')
|
||||
this.toastInfo(this.$t('session.automaticallyLoggedOut'))
|
||||
this.toastInfoNoHide(this.$t('session.automaticallyLoggedOut'))
|
||||
this.$emit('logout')
|
||||
})
|
||||
},
|
||||
|
||||
@ -86,6 +86,7 @@ export default {
|
||||
const loader = this.$loading.show({
|
||||
container: this.$refs.submitButton,
|
||||
})
|
||||
this.$root.$bvToast.hide()
|
||||
this.$apollo
|
||||
.mutate({
|
||||
mutation: login,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user