fix: 🐛 password should be sent through to setPassword

This commit is contained in:
Randall Morey committed 2020-09-16 12:58:07 -04:00
1 parent d1c14f527e
commit 200649434c
1 file changed
+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')