diff --git a/webapp/src/stores/authentication.ts b/webapp/src/stores/authentication.ts index 677e512..59c7191 100644 --- a/webapp/src/stores/authentication.ts +++ b/webapp/src/stores/authentication.ts @@ -13,6 +13,7 @@ export const useAuthenticationStore = defineStore('authentication', () => { function logout() { // TODO: make a request to the server to log out the user + localStorage.removeItem('spartan-token'); // special for spartan auth isAuthenticated.value = false; localStorage.setItem('isAuthenticated', 'false'); } diff --git a/webapp/src/views/Password.vue b/webapp/src/views/Password.vue index bf15818..3e3eeeb 100644 --- a/webapp/src/views/Password.vue +++ b/webapp/src/views/Password.vue @@ -3,6 +3,9 @@
Username and password form
+ + +
@@ -10,9 +13,24 @@