From 99f84539b75ef6cadb727e49ca5dc5d6f37dc973 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 30 Oct 2025 10:48:47 +0100 Subject: [PATCH] Clean up --- .../new-device-verification.component.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libs/auth/src/angular/new-device-verification/new-device-verification.component.ts b/libs/auth/src/angular/new-device-verification/new-device-verification.component.ts index 7d6d75c8a53..726cfd7b3b5 100644 --- a/libs/auth/src/angular/new-device-verification/new-device-verification.component.ts +++ b/libs/auth/src/angular/new-device-verification/new-device-verification.component.ts @@ -152,10 +152,7 @@ export class NewDeviceVerificationComponent implements OnInit, OnDestroy { return; } - // FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling. - // TODO - // eslint-disable-next-line @typescript-eslint/no-floating-promises - this.loginSuccessHandlerService.run(authResult.userId, authResult.masterPassword); + await this.loginSuccessHandlerService.run(authResult.userId, authResult.masterPassword); // TODO: PM-22663 use the new service to handle routing. const activeUserId = await firstValueFrom(this.accountService.activeAccount$.pipe(getUserId));