mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-16 01:21:48 +01:00
PM-8113 - Clean up used service method + TODO as I've confirmed it works for other flows.
This commit is contained in:
parent
8506449f9d
commit
e6e3cf623a
@ -38,12 +38,7 @@ export class ExtensionTwoFactorAuthComponentService
|
||||
document.body.classList.remove("linux-webauthn");
|
||||
}
|
||||
|
||||
closeWindow(): void {
|
||||
this.window.close();
|
||||
}
|
||||
|
||||
async handle2faSuccess(): Promise<void> {
|
||||
// TODO: confirm that moving this from SSO flow only to general flow doesn't introduce any issues
|
||||
// Force sidebars (FF && Opera) to reload while exempting current window
|
||||
// because we are just going to close the current window if it is in a popout
|
||||
// or navigate forward if it is in the popup
|
||||
|
@ -29,11 +29,6 @@ export abstract class TwoFactorAuthComponentService {
|
||||
*/
|
||||
abstract removePopupWidthExtension?(): void;
|
||||
|
||||
/**
|
||||
* Optionally closes the window if the client requires it
|
||||
*/
|
||||
abstract closeWindow?(): void;
|
||||
|
||||
/**
|
||||
* We used to use the user's master key to encrypt their data. We deprecated that approach
|
||||
* and now use a user key. This method should be called if we detect that the user
|
||||
|
Loading…
Reference in New Issue
Block a user