mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-16 01:21:48 +01:00
PM-8113 - TwoFactorAuthComp - isTrustedDeviceEncEnabled - add undefined check for optional window close. + Add todo
This commit is contained in:
parent
ace5f3b99c
commit
71fd85c907
@ -378,7 +378,8 @@ export class TwoFactorAuthComponent implements OnInit, OnDestroy {
|
||||
);
|
||||
}
|
||||
|
||||
if (this.twoFactorAuthComponentService.closeWindow) {
|
||||
// TODO: determine why this is necessary?
|
||||
if (this.twoFactorAuthComponentService.closeWindow !== undefined) {
|
||||
this.twoFactorAuthComponentService.closeWindow();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user