Hide password input when using key connector

This commit is contained in:
Daniel James Smith 2021-11-21 13:04:07 +01:00
parent 28d54dab29
commit 1af712df04
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726
2 changed files with 8 additions and 7 deletions

View File

@ -320,11 +320,11 @@
"browserNotSupportClipboard": {
"message": "Your web browser does not support easy clipboard copying. Copy it manually instead."
},
"verifyMasterPassword": {
"message": "Verify Master Password"
"verifyIdentity": {
"message": "Verify Identity"
},
"yourVaultIsLocked": {
"message": "Your vault is locked. Verify your master password to continue."
"message": "Your vault is locked. Verify your identity to continue."
},
"unlock": {
"message": "Unlock"

View File

@ -2,16 +2,16 @@
<header>
<div class="left"></div>
<div class="center">
<span class="title">{{(pinLock ? 'verifyPin' : 'verifyMasterPassword') | i18n}}</span>
<span class="title">{{(pinLock ? 'verifyPin' : 'verifyIdentity') | i18n}}</span>
</div>
<div class="right">
<button type="submit" appBlurClick>{{'unlock' | i18n}}</button>
<button type="submit" appBlurClick *ngIf="!hideInput">{{'unlock' | i18n}}</button>
</div>
</header>
<content>
<div class="box">
<div class="box-content">
<div class="box-content-row box-content-row-flex" appBoxRow>
<div class="box-content-row box-content-row-flex" appBoxRow *ngIf="!hideInput">
<div class="row-main" *ngIf="pinLock">
<label for="pin">{{'pin' | i18n}}</label>
<input id="pin" type="{{showPassword ? 'text' : 'password'}}" name="PIN" class="monospaced"
@ -38,7 +38,8 @@
</div>
<div class="box" *ngIf="biometricLock">
<div class="box-footer">
<button type="button" class="btn primary block" (click)="unlockBiometric()" appStopClick>{{'unlockWithBiometrics' | i18n}}</button>
<button type="button" class="btn primary block" (click)="unlockBiometric()"
appStopClick>{{'unlockWithBiometrics' | i18n}}</button>
</div>
</div>
<p class="text-center">