refs #6859 fix(account): changePassword name
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
904692a11f
commit
2703d50cbf
|
@ -71,7 +71,7 @@ class Controller extends Descriptor {
|
||||||
const params = {newPassword: this.newPassword};
|
const params = {newPassword: this.newPassword};
|
||||||
|
|
||||||
if (this.askOldPass) {
|
if (this.askOldPass) {
|
||||||
method = 'changePassword';
|
method = 'change-password';
|
||||||
params.oldPassword = this.oldPassword;
|
params.oldPassword = this.oldPassword;
|
||||||
} else
|
} else
|
||||||
method = 'setPassword';
|
method = 'setPassword';
|
||||||
|
|
Loading…
Reference in New Issue