mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
allow login command clientid from ctor
This commit is contained in:
@@ -35,7 +35,9 @@ export class LoginCommand {
|
|||||||
constructor(protected authService: AuthService, protected apiService: ApiService,
|
constructor(protected authService: AuthService, protected apiService: ApiService,
|
||||||
protected i18nService: I18nService, protected environmentService: EnvironmentService,
|
protected i18nService: I18nService, protected environmentService: EnvironmentService,
|
||||||
protected passwordGenerationService: PasswordGenerationService,
|
protected passwordGenerationService: PasswordGenerationService,
|
||||||
protected cryptoFunctionService: CryptoFunctionService) { }
|
protected cryptoFunctionService: CryptoFunctionService, clientId: string) {
|
||||||
|
this.clientId = clientId;
|
||||||
|
}
|
||||||
|
|
||||||
async run(email: string, password: string, cmd: program.Command) {
|
async run(email: string, password: string, cmd: program.Command) {
|
||||||
this.canInteract = process.env.BW_NOINTERACTION !== 'true';
|
this.canInteract = process.env.BW_NOINTERACTION !== 'true';
|
||||||
|
|||||||
Reference in New Issue
Block a user