1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

enforce policies on generate command (#115)

This commit is contained in:
Kyle Spearrin
2020-03-03 16:29:10 -05:00
committed by GitHub
parent 3c2c1e69c5
commit ef602ff6a4
3 changed files with 5 additions and 3 deletions

View File

@@ -119,7 +119,8 @@ export class Main {
this.folderService, this.cipherService, this.cryptoService, this.collectionService,
this.storageService, this.messagingService, this.policyService,
async (expired: boolean) => await this.logout());
this.passwordGenerationService = new PasswordGenerationService(this.cryptoService, this.storageService);
this.passwordGenerationService = new PasswordGenerationService(this.cryptoService, this.storageService,
this.policyService);
this.totpService = new TotpService(this.storageService, this.cryptoFunctionService);
this.importService = new ImportService(this.cipherService, this.folderService, this.apiService,
this.i18nService, this.collectionService);