mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
SSO login for generic clients and CLI (#140)
* sso * move break into try block * make client id dynamic * clientId is a string, DOH! * reject if port not available * lint fixes
This commit is contained in:
@@ -261,7 +261,8 @@ export class PasswordGenerationService implements PasswordGenerationServiceAbstr
|
||||
}
|
||||
|
||||
async getPasswordGeneratorPolicyOptions(): Promise<PasswordGeneratorPolicyOptions> {
|
||||
const policies: Policy[] = await this.policyService.getAll(PolicyType.PasswordGenerator);
|
||||
const policies: Policy[] = this.policyService == null ? null :
|
||||
await this.policyService.getAll(PolicyType.PasswordGenerator);
|
||||
let enforcedOptions: PasswordGeneratorPolicyOptions = null;
|
||||
|
||||
if (policies == null || policies.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user