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() {
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' });