Skip to content

Commit

Permalink
two step passkey view was outside the conditional (#5872)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbubemismith authored Jul 21, 2023
1 parent af3c22b commit 0c57fb5
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions apps/web/src/app/vault/individual-vault/add-edit.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,24 +191,25 @@ <h1 class="modal-title" id="cipherAddEditTitle">{{ title }}</h1>
</button>
</div>
</div>
<ng-container *ngIf="cipher.login.fido2Key"></ng-container>
<div class="row">
<div class="col-6 form-group">
<label for="loginFido2key">{{ "typePasskey" | i18n }}</label>
<div class="input-group">
<input
id="loginFido2key"
class="form-control"
type="text"
name="Login.Fido2key"
[value]="'passkeyTwoStepLogin' | i18n"
appInputVerbatim
disabled
readonly
/>
<ng-container *ngIf="cipher.login.fido2Key">
<div class="row">
<div class="col-6 form-group">
<label for="loginFido2key">{{ "typePasskey" | i18n }}</label>
<div class="input-group">
<input
id="loginFido2key"
class="form-control"
type="text"
name="Login.Fido2key"
[value]="'passkeyTwoStepLogin' | i18n"
appInputVerbatim
disabled
readonly
/>
</div>
</div>
</div>
</div>
</ng-container>
<div class="tw-flex tw-flex-row">
<div class="tw-mb-4 tw-w-1/2">
<label for="loginTotp">{{ "authenticatorKeyTotp" | i18n }}</label>
Expand Down

0 comments on commit 0c57fb5

Please sign in to comment.