1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 02:03:39 +00:00

don't allow 'except password' permissions to view or copy hidden fields (#12899)

This commit is contained in:
Jordan Aasen
2025-01-17 15:04:06 -08:00
committed by GitHub
parent a803e5b411
commit 43a6a93944
3 changed files with 10 additions and 0 deletions

View File

@@ -38,6 +38,7 @@
type="button"
bitIconButton
bitPasswordInputToggle
*ngIf="canViewPassword"
(toggledChange)="logHiddenEvent($event)"
></button>
<button
@@ -47,6 +48,7 @@
[appCopyClick]="field.value"
showToast
[valueLabel]="field.name"
*ngIf="canViewPassword"
[appA11yTitle]="'copyCustomField' | i18n: field.name"
(click)="logCopyEvent()"
></button>