aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_settings/user_settings.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2020-01-28 11:13:17 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2020-01-28 11:13:17 +0000
commit4a11ee9768f2abbaa9da0e2454e2793734cce040 (patch)
tree9a7c48564dcd5a0a15b6b7b615c6b37af3a9220a /src/components/user_settings/user_settings.js
parentb0b0fc403a57dca6837bc99a87c66609156af2b9 (diff)
parent566f013ac49139cb3411b24920b8b235c8c3c424 (diff)
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 (limited to 'src/components/user_settings/user_settings.js')
-rw-r--r--src/components/user_settings/user_settings.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js
index 1709b48f..38373056 100644
--- 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