mirror of
https://github.com/bitwarden/cli
synced 2025-12-16 08:13:21 +00:00
update jslib
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 7d49902eea...bc31867e1a
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user