ui: Fix incorrect form name

This commit is contained in:
nemunaire 2021-12-31 15:52:28 +01:00
parent 8aa6f933a3
commit e5554a1bea

View File

@ -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(