From efe04206c5078586bac4a5bc610060481644d11a Mon Sep 17 00:00:00 2001 From: Gamebrary Date: Mon, 2 May 2022 21:32:19 -0700 Subject: [PATCH] re-use method --- src/mixins/sessionMixin.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mixins/sessionMixin.js b/src/mixins/sessionMixin.js index adec6017..d7e084af 100644 --- a/src/mixins/sessionMixin.js +++ b/src/mixins/sessionMixin.js @@ -14,8 +14,7 @@ export default { session_signOut() { firebase.auth().signOut() .then(() => { - this.$store.commit('CLEAR_SESSION'); - this.$router.replace({ name: 'auth' }); + this.session_handleExpiredSession(); }) .catch((error) => { this.$bvToast.toast(error, { title: 'Error', variant: 'danger' });