mirror of
https://github.com/romancm/gamebrary
synced 2024-11-23 19:53:14 +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() {
|
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' });
|
||||||
|
|
Loading…
Reference in a new issue