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": { "browserNotSupportClipboard": {
"message": "Your web browser does not support easy clipboard copying. Copy it manually instead." "message": "Your web browser does not support easy clipboard copying. Copy it manually instead."
}, },
"verifyMasterPassword": { "verifyIdentity": {
"message": "Verify Master Password" "message": "Verify Identity"
}, },
"yourVaultIsLocked": { "yourVaultIsLocked": {
"message": "Your vault is locked. Verify your master password to continue." "message": "Your vault is locked. Verify your identity to continue."
}, },
"unlock": { "unlock": {
"message": "Unlock" "message": "Unlock"

View File

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