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

[SSO] Set Password flow sync (#159)

* Added sync service to set-password // Added error for CLI in set-password flow

* Updated error string // added sync tracking boolean

* VS code failed to saved latest change - resaving false loading
This commit is contained in:
Vincent Salucci
2020-08-27 13:24:38 -05:00
committed by GitHub
parent e07526a1b6
commit 42d5784ef3
2 changed files with 14 additions and 1 deletions

View File

@@ -200,6 +200,11 @@ export class LoginCommand {
return Response.error('Login failed.');
}
if (response.resetMasterPassword) {
return Response.error('In order to log in with SSO from the CLI, you must first log in' +
' through the web vault to set your master password.');
}
if (this.success != null) {
const res = await this.success();
return Response.success(res);