1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

revert to old secrets masking behaviour in browser cipher edit view (#8018)

This commit is contained in:
Jonathan Prusik
2024-02-23 17:40:27 -05:00
committed by GitHub
parent c6b0f70a26
commit 44bda82bc4
2 changed files with 4 additions and 20 deletions

View File

@@ -70,18 +70,15 @@
<div class="row-main">
<label for="loginPassword">{{ "password" | i18n }}</label>
<input
*ngIf="showPassword"
id="loginPassword"
class="monospaced"
type="text"
type="{{ showPassword ? 'text' : 'password' }}"
name="Login.Password"
[(ngModel)]="cipher.login.password"
appInputVerbatim
[disabled]="!cipher.viewPassword"
[readonly]="!cipher.edit && editMode"
/>
<div *ngIf="!showPassword" class="monospaced">
{{ cipher.login.maskedPassword || "••••••••" }}
</div>
</div>
<div class="action-buttons">
<button
@@ -153,18 +150,15 @@
<div class="row-main">
<label for="loginTotp">{{ "authenticatorKeyTotp" | i18n }}</label>
<input
*ngIf="showTotpSeed"
id="loginTotp"
type="text"
type="{{ showTotpSeed ? 'text' : 'password' }}"
name="Login.Totp"
class="monospaced"
[(ngModel)]="cipher.login.totp"
appInputVerbatim
[disabled]="!cipher.viewPassword"
[readonly]="!cipher.edit && editMode"
/>
<div *ngIf="!showTotpSeed" class="monospaced">
{{ cipher.login.maskedPassword || "••••••••" }}
</div>
</div>
<div class="action-buttons">
<button