mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
don't allow 'except password' permissions to view or copy hidden fields (#12899)
This commit is contained in:
@@ -59,6 +59,10 @@ export class CustomFieldV2Component implements OnInit {
|
||||
return this.i18nService.t(linkedType.i18nKey);
|
||||
}
|
||||
|
||||
get canViewPassword() {
|
||||
return this.cipher.viewPassword;
|
||||
}
|
||||
|
||||
async logHiddenEvent(hiddenFieldVisible: boolean) {
|
||||
if (hiddenFieldVisible) {
|
||||
await this.eventCollectionService.collect(
|
||||
|
||||
Reference in New Issue
Block a user