1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

secure storage with env session key

This commit is contained in:
Kyle Spearrin
2018-05-15 21:11:58 -04:00
parent e8a3325ec9
commit 807cca2bd2
6 changed files with 109 additions and 19 deletions

View File

@@ -34,7 +34,8 @@ export class Program {
.option('-m, --method <method>', 'Two-step login method.')
.option('-c, --code <code>', 'Two-step login code.')
.action(async (email: string, password: string, cmd: program.Command) => {
const command = new LoginCommand(this.main.authService, this.main.apiService);
const command = new LoginCommand(this.main.authService, this.main.apiService,
this.main.cryptoFunctionService);
const response = await command.run(email, password, cmd);
this.processResponse(response, cmd);
});