fix: 🐛 password should be sent through to setPassword
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -31,9 +31,9 @@ export default class ScopesScopeAuthMethodsAuthMethodAccountsAccountSettingsRout
|
||||
* @param {string} password
|
||||
*/
|
||||
@action
|
||||
async setPassword(account) {
|
||||
async setPassword(account, password) {
|
||||
try {
|
||||
await account.setPassword();
|
||||
await account.setPassword(password);
|
||||
await this.replaceWith('scopes.scope.auth-methods.auth-method.accounts.account.set-password');
|
||||
this.notify.success(
|
||||
this.intl.t('notify.save-success')
|
||||
|
||||
Reference in new issue
Block a user