aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routes/+layout.svelte3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 43cdf0ee..7f770e7a 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -131,7 +131,8 @@
href={'#'}
class="header-item"
on:click={() => {
- userIdentity.set(defaultIdentity);
+ localStorage.removeItem('identity');
+ localStorage.removeItem('commit');
window.location.href = root('/api/authentication/log-out');
}}