logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: 4a11ee9768f2abbaa9da0e2454e2793734cce040
parent: b0b0fc403a57dca6837bc99a87c66609156af2b9
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date:   Tue, 28 Jan 2020 11:13:17 +0000

Merge branch 'fix-password-and-email-update' into 'develop'

Fix email and password forms in user settings

See merge request pleroma/pleroma-fe!1050

Diffstat:

Msrc/components/user_settings/user_settings.js4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js @@ -307,7 +307,7 @@ const UserSettings = { newPassword: this.changePasswordInputs[1], newPasswordConfirmation: this.changePasswordInputs[2] } - this.$store.state.api.backendInteractor.changePassword({ params }) + this.$store.state.api.backendInteractor.changePassword(params) .then((res) => { if (res.status === 'success') { this.changedPassword = true @@ -324,7 +324,7 @@ const UserSettings = { email: this.newEmail, password: this.changeEmailPassword } - this.$store.state.api.backendInteractor.changeEmail({ params }) + this.$store.state.api.backendInteractor.changeEmail(params) .then((res) => { if (res.status === 'success') { this.changedEmail = true