mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
handle submit routing (web)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1302,7 +1302,7 @@ const safeProviders: SafeProvider[] = [
|
||||
safeProvider({
|
||||
provide: LoginService,
|
||||
useClass: DefaultLoginService,
|
||||
deps: [],
|
||||
deps: [I18nServiceAbstraction, ToastService],
|
||||
}),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user