1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +01:00

Update jslib (b816ddd -> 0a30c7e) and enforce passphrase policy (#408)

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
This commit is contained in:
Vincent Salucci 2020-03-12 23:25:49 -05:00 committed by GitHub
parent a483996301
commit 31d023194d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

2
jslib

@ -1 +1 @@
Subproject commit b816ddddff96b53a77620b8b31d6ca699f0a8195
Subproject commit 0a30c7eb1ecbac500e6c55a7d4024d98efa982bc

View File

@ -2,7 +2,7 @@
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-body">
<app-callout type="info" *ngIf="policyInEffect">
<app-callout type="info" *ngIf="enforcedPolicyOptions?.inEffect()">
{{'passwordGeneratorPolicyInEffect' | i18n}}
</app-callout>
<div class="password-block">
@ -40,7 +40,7 @@
<div class="box-content condensed">
<div class="box-content-row box-content-row-input" appBoxRow>
<label for="num-words">{{'numWords' | i18n}}</label>
<input id="num-words" type="number" min="3" max="20" (input)="saveOptions()"
<input id="num-words" type="number" min="3" max="20" (blur)="saveOptions()"
[(ngModel)]="options.numWords">
</div>
<div class="box-content-row box-content-row-input" appBoxRow>
@ -51,12 +51,12 @@
<div class="box-content-row box-content-row-checkbox" appBoxRow>
<label for="capitalize">{{'capitalize' | i18n}}</label>
<input id="capitalize" type="checkbox" (change)="saveOptions()"
[(ngModel)]="options.capitalize">
[(ngModel)]="options.capitalize" [disabled]="enforcedPolicyOptions?.capitalize">
</div>
<div class="box-content-row box-content-row-checkbox" appBoxRow>
<label for="include-number">{{'includeNumber' | i18n}}</label>
<input id="include-number" type="checkbox" (change)="saveOptions()"
[(ngModel)]="options.includeNumber">
[(ngModel)]="options.includeNumber" [disabled]="enforcedPolicyOptions?.includeNumber">
</div>
</div>
</div>