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,
passwordGenerationService: PasswordGenerationService) {
super(authService, apiService, i18nService, environmentService, passwordGenerationService,
cryptoFunctionService);
this.clientId = 'cli';
cryptoFunctionService, 'cli');
this.validatedParams = async () => {
const key = await cryptoFunctionService.randomBytes(64);
process.env.BW_SESSION = Utils.fromBufferToB64(key);