1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

handle submit routing (web)

This commit is contained in:
rr-bw
2024-09-02 09:31:10 -07:00
parent 19acf12900
commit 48ffd0b5d6
4 changed files with 48 additions and 6 deletions

View File

@@ -193,6 +193,7 @@ export class LoginComponent extends CaptchaProtectedComponent implements OnInit,
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.onSuccessfulLogin();
}
if (this.onSuccessfulLoginNavigate != null) {
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises

View File

@@ -1302,7 +1302,7 @@ const safeProviders: SafeProvider[] = [
safeProvider({
provide: LoginService,
useClass: DefaultLoginService,
deps: [],
deps: [I18nServiceAbstraction, ToastService],
}),
];