1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

[Reset Password v1] Update Temp Password (#356)

* [Reset Password v1] Update Temp Password

* updated jslib

* fetched email before checking for reset master password

Co-authored-by: addison <addisonbeck1@gmail.com>
This commit is contained in:
Vincent Salucci
2021-08-10 12:35:41 -05:00
committed by GitHub
parent 4ec06bbd1e
commit 1a1ba6ed3b
3 changed files with 140 additions and 17 deletions

View File

@@ -138,7 +138,8 @@ export class Program extends BaseProgram {
const command = new LoginCommand(this.main.authService, this.main.apiService,
this.main.cryptoFunctionService, this.main.syncService, this.main.i18nService,
this.main.environmentService, this.main.passwordGenerationService,
this.main.platformUtilsService);
this.main.platformUtilsService, this.main.userService, this.main.cryptoService,
this.main.policyService, async () => await this.main.logout());
const response = await command.run(email, password, options);
this.processResponse(response);
}