re-use method

This commit is contained in:
Gamebrary 2022-05-02 21:32:19 -07:00
parent dbb10a8a8b
commit efe04206c5

View file

@ -14,8 +14,7 @@ export default {
session_signOut() { session_signOut() {
firebase.auth().signOut() firebase.auth().signOut()
.then(() => { .then(() => {
this.$store.commit('CLEAR_SESSION'); this.session_handleExpiredSession();
this.$router.replace({ name: 'auth' });
}) })
.catch((error) => { .catch((error) => {
this.$bvToast.toast(error, { title: 'Error', variant: 'danger' }); this.$bvToast.toast(error, { title: 'Error', variant: 'danger' });