diff --git a/src/components/settings/Security.vue b/src/components/settings/Security.vue index a72b0727..87bb745a 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 2a00924e..7f9598bf 100644 --- a/src/layouts/Layout.vue +++ b/src/layouts/Layout.vue @@ -50,7 +50,7 @@ {{ $t("Settings") }} -
  • +