diff --git a/src/layouts/Layout.vue b/src/layouts/Layout.vue index e4e1ee9..94280a5 100644 --- a/src/layouts/Layout.vue +++ b/src/layouts/Layout.vue @@ -15,6 +15,7 @@ /> diff --git a/src/store/store-auth.js b/src/store/store-auth.js index ec4ec15..624df4c 100644 --- a/src/store/store-auth.js +++ b/src/store/store-auth.js @@ -29,6 +29,9 @@ const actions = { console.log('error.message: ', error) }) }, + logoutUser () { + firebaseAuth.signOut() + }, handleAuthStateChange ({ commit }) { firebaseAuth.onAuthStateChanged(function (user) { if (user) {