refs #6859 fix(account): changePassword name
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-02-15 09:39:02 +01:00
parent 904692a11f
commit 2703d50cbf
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class Controller extends Descriptor {
const params = {newPassword: this.newPassword};
if (this.askOldPass) {
method = 'changePassword';
method = 'change-password';
params.oldPassword = this.oldPassword;
} else
method = 'setPassword';