Skip to content

Commit

Permalink
chore: emit logout event to parent window
Browse files Browse the repository at this point in the history
  • Loading branch information
duchunter committed Apr 10, 2024
1 parent 9f2f63d commit 68c8cf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/plugins/mixins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ Vue.mixin({
await this.$cryptoService.clearKeys()
await this.$userService.clear()
await this.$cookies.remove('cs_locker_token')
this.postIframeMessage('logout')
this.$store.commit('CLEAR_ALL_DATA')
this.$router.push(this.localeRoute({ name: 'index' }))
window.$chatwoot?.reset()
Expand Down

0 comments on commit 68c8cf7

Please sign in to comment.