Do not use underscore at the beginning of the method
This commit is contained in:
parent
0c3cd05965
commit
59b84c2a06
|
@ -235,7 +235,7 @@ const UserSettings = {
|
||||||
if (res.status === 'success') {
|
if (res.status === 'success') {
|
||||||
this.changedPassword = true
|
this.changedPassword = true
|
||||||
this.changePasswordError = false
|
this.changePasswordError = false
|
||||||
this._logout()
|
this.logout()
|
||||||
} else {
|
} else {
|
||||||
this.changedPassword = false
|
this.changedPassword = false
|
||||||
this.changePasswordError = res.error
|
this.changePasswordError = res.error
|
||||||
|
@ -245,7 +245,7 @@ const UserSettings = {
|
||||||
activateTab (tabName) {
|
activateTab (tabName) {
|
||||||
this.activeTab = tabName
|
this.activeTab = tabName
|
||||||
},
|
},
|
||||||
_logout () {
|
logout () {
|
||||||
this.$store.dispatch('logout')
|
this.$store.dispatch('logout')
|
||||||
this.$router.replace('/')
|
this.$router.replace('/')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue