1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

allow login command clientid from ctor

This commit is contained in:
Kyle Spearrin 2020-08-04 08:50:13 -04:00
parent 7d49902eea
commit bc31867e1a

View File

@ -35,7 +35,9 @@ export class LoginCommand {
constructor(protected authService: AuthService, protected apiService: ApiService,
protected i18nService: I18nService, protected environmentService: EnvironmentService,
protected passwordGenerationService: PasswordGenerationService,
protected cryptoFunctionService: CryptoFunctionService) { }
protected cryptoFunctionService: CryptoFunctionService, clientId: string) {
this.clientId = clientId;
}
async run(email: string, password: string, cmd: program.Command) {
this.canInteract = process.env.BW_NOINTERACTION !== 'true';