1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01: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

@ -1 +1 @@
Subproject commit 7d49902eea45275d50c949beec32b3ab5b7db725 Subproject commit bc31867e1a8ff4a85f59163889da5801db0ce25a

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);