diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js index b1d7663f..761e674a 100644 --- a/src/components/user_settings/user_settings.js +++ b/src/components/user_settings/user_settings.js @@ -235,7 +235,7 @@ const UserSettings = { if (res.status === 'success') { this.changedPassword = true this.changePasswordError = false - this._logout() + this.logout() } else { this.changedPassword = false this.changePasswordError = res.error @@ -245,7 +245,7 @@ const UserSettings = { activateTab (tabName) { this.activeTab = tabName }, - _logout () { + logout () { this.$store.dispatch('logout') this.$router.replace('/') }