diff --git a/src/components/settings/Security.vue b/src/components/settings/Security.vue
index a72b07274..87bb745a1 100644
--- a/src/components/settings/Security.vue
+++ b/src/components/settings/Security.vue
@@ -321,6 +321,8 @@ export default {
// Set it to empty if done
this.saveSettings(() => {
this.password.currentPassword = "";
+ this.$root.username = null;
+ this.$root.socket.token = "autoLogin";
}, this.password.currentPassword);
},
diff --git a/src/layouts/Layout.vue b/src/layouts/Layout.vue
index 2a00924e2..7f9598bfb 100644
--- a/src/layouts/Layout.vue
+++ b/src/layouts/Layout.vue
@@ -50,7 +50,7 @@
{{ $t("Settings") }}
-
+