mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +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) {
|
if (this.tokenExpiresInSeconds === 0) {
|
||||||
this.$timer.stop('tokenExpires')
|
this.$timer.stop('tokenExpires')
|
||||||
this.toastInfo(this.$t('session.automaticallyLoggedOut'))
|
this.toastInfoNoHide(this.$t('session.automaticallyLoggedOut'))
|
||||||
this.$emit('logout')
|
this.$emit('logout')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -85,7 +85,7 @@ export default {
|
|||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.$timer.stop('tokenExpires')
|
this.$timer.stop('tokenExpires')
|
||||||
this.toastInfo(this.$t('session.automaticallyLoggedOut'))
|
this.toastInfoNoHide(this.$t('session.automaticallyLoggedOut'))
|
||||||
this.$emit('logout')
|
this.$emit('logout')
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@ -86,6 +86,7 @@ export default {
|
|||||||
const loader = this.$loading.show({
|
const loader = this.$loading.show({
|
||||||
container: this.$refs.submitButton,
|
container: this.$refs.submitButton,
|
||||||
})
|
})
|
||||||
|
this.$root.$bvToast.hide()
|
||||||
this.$apollo
|
this.$apollo
|
||||||
.mutate({
|
.mutate({
|
||||||
mutation: login,
|
mutation: login,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user