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

update jslib

This commit is contained in:
Kyle Spearrin
2020-08-04 08:50:22 -04:00
parent 49f8da15cb
commit 080d9f29e9
2 changed files with 2 additions and 3 deletions

2
jslib

Submodule jslib updated: 7d49902eea...bc31867e1a

View File

@@ -22,8 +22,7 @@ export class LoginCommand extends BaseLoginCommand {
i18nService: I18nService, environmentService: EnvironmentService, i18nService: I18nService, environmentService: EnvironmentService,
passwordGenerationService: PasswordGenerationService) { passwordGenerationService: PasswordGenerationService) {
super(authService, apiService, i18nService, environmentService, passwordGenerationService, super(authService, apiService, i18nService, environmentService, passwordGenerationService,
cryptoFunctionService); cryptoFunctionService, 'cli');
this.clientId = 'cli';
this.validatedParams = async () => { this.validatedParams = async () => {
const key = await cryptoFunctionService.randomBytes(64); const key = await cryptoFunctionService.randomBytes(64);
process.env.BW_SESSION = Utils.fromBufferToB64(key); process.env.BW_SESSION = Utils.fromBufferToB64(key);