mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +00:00
Enforce passphrase policy (#490)
* Update jslib and initial commit for passphrase policy * Removed unused strings * Pulling in latest jslib (44b86f5->36241e9) * Made revision requests Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div class="page-header">
|
||||
<h1>{{'passwordGenerator' | i18n}}</h1>
|
||||
</div>
|
||||
<app-callout type="info" *ngIf="policyInEffect">
|
||||
<app-callout type="info" *ngIf="enforcedPolicyOptions?.inEffect()">
|
||||
{{'passwordGeneratorPolicyInEffect' | i18n}}
|
||||
</app-callout>
|
||||
<div class="card card-password bg-light my-4">
|
||||
@@ -37,12 +37,12 @@
|
||||
<div class="form-group">
|
||||
<div class="form-check">
|
||||
<input id="capitalize" class="form-check-input" type="checkbox" (change)="saveOptions()"
|
||||
[(ngModel)]="options.capitalize">
|
||||
[(ngModel)]="options.capitalize" [disabled]="enforcedPolicyOptions?.capitalize">
|
||||
<label for="capitalize" class="form-check-label">{{'capitalize' | i18n}}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input id="include-number" class="form-check-input" type="checkbox" (change)="saveOptions()"
|
||||
[(ngModel)]="options.includeNumber">
|
||||
[(ngModel)]="options.includeNumber" [disabled]="enforcedPolicyOptions?.includeNumber">
|
||||
<label for="include-number" class="form-check-label">{{'includeNumber' | i18n}}</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user