1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

Ensure auto auto-fill ignores new-password

This commit is contained in:
Chad Scharf
2020-09-21 15:41:06 -04:00
parent 5ec2a70027
commit 7f1cc0199b
4 changed files with 13 additions and 5 deletions

View File

@@ -147,6 +147,7 @@ export class CurrentTabComponent implements OnInit, OnDestroy {
cipher: cipher,
pageDetails: this.pageDetails,
doc: window.document,
fillNewPassword: true,
});
this.analytics.eventTrack.next({ action: 'Autofilled' });
if (this.totpCode != null) {

View File

@@ -220,6 +220,7 @@ export class ViewComponent extends BaseViewComponent {
cipher: this.cipher,
pageDetails: this.pageDetails,
doc: window.document,
fillNewPassword: true,
});
if (this.totpCode != null) {
this.platformUtilsService.copyToClipboard(this.totpCode, { window: window });