1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-11 13:53:25 +00:00

Fix migration to Key Connector (#452)

* Move Key Connector check to subclass

* Move authService.logout call to main program

* Move Key Connector migration check to unlock command

* Use get/setConvertAccountRequired flag

* Move Key Connector convert to own command, set usesKeyConnector after conversion

* Remove KC conversion check from syncCommand, fix callback

* Make class service private

* Fix naming convention

* Update jslib and deps
This commit is contained in:
Thomas Rittson
2022-01-21 06:03:37 +10:00
committed by GitHub
parent 922cd1dc54
commit 8b650666c5
7 changed files with 159 additions and 29 deletions

View File

@@ -107,7 +107,11 @@ export class ServeCommand {
this.main.stateService,
this.main.cryptoFunctionService,
this.main.apiService,
this.main.logService
this.main.logService,
this.main.keyConnectorService,
this.main.environmentService,
this.main.syncService,
async () => await this.main.logout()
);
this.sendCreateCommand = new SendCreateCommand(