ui: Fix incorrect form name
This commit is contained in:
parent
8aa6f933a3
commit
e5554a1bea
|
@ -242,7 +242,7 @@ export default {
|
|||
|
||||
deleteMyAccount () {
|
||||
axios
|
||||
.post('/api/users/' + encodeURIComponent(this.loggedUser.id.toString(16)) + '/delete', { password: this.deletePassword })
|
||||
.post('/api/users/' + encodeURIComponent(this.loggedUser.id.toString(16)) + '/delete', { current: this.deletePassword })
|
||||
.then(
|
||||
response => {
|
||||
this.$root.$bvToast.toast(
|
||||
|
|
Loading…
Reference in New Issue
Block a user