aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/views/Login/index.vue
diff options
context:
space:
mode:
Diffstat (limited to 'front-end/src/views/Login/index.vue')
-rw-r--r--front-end/src/views/Login/index.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/front-end/src/views/Login/index.vue b/front-end/src/views/Login/index.vue
index 5d8f298..6a55aeb 100644
--- a/front-end/src/views/Login/index.vue
+++ b/front-end/src/views/Login/index.vue
@@ -62,7 +62,9 @@ const submitLogout = async () => {
//Submit logout request
await apiCall(async ({ toaster }) => {
// Attempt to logout
- await store.socialOauth.logout()
+ const { logout } = await store.socialOauth()
+ await logout()
+
// Push a new toast message
toaster.general.success({
id: 'logout-success',