mirror of
https://github.com/romancm/gamebrary
synced 2024-11-27 05:30:22 +00:00
re-use method
This commit is contained in:
parent
dbb10a8a8b
commit
efe04206c5
1 changed files with 1 additions and 2 deletions
|
@ -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' });
|
||||
|
|
Loading…
Reference in a new issue