1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

setup storage service and log in

This commit is contained in:
Kyle Spearrin
2018-05-13 00:19:14 -04:00
parent 8f49b58d2e
commit 70c7b182ae
9 changed files with 151 additions and 8 deletions

View File

@@ -9,7 +9,12 @@ export class LoginCommand {
}
run(email: string, password: string, cmd: program.Command) {
async run(email: string, password: string, cmd: program.Command) {
try {
const result = await this.authService.logIn(email, password);
console.log(result);
} catch (e) {
console.log(e);
}
}
}