diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue
index 19c69a97c3a5bf39ead580a21941fb928be157c7..7c93bfe2a7ce1b5d9c4e53e8a4408b15deac0001 100644
--- a/src/components/Navbar.vue
+++ b/src/components/Navbar.vue
@@ -184,6 +184,7 @@ export default {
       }
     },
     async global_logout() {
+      await this.$store.dispatch('doLogout')
       window.location.href = 'https://idp.scc.kit.edu/idp/profile/Logout'
     }
   },