1
0
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:
Jared Snider 2025-01-24 16:32:32 -05:00
parent 8506449f9d
commit e6e3cf623a
No known key found for this signature in database
GPG Key ID: A149DDD612516286
2 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -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