From bcc2bda4174c6e1c61feee1fc9a84a24bdbcda07 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 11 Dec 2025 14:29:48 +0100 Subject: [PATCH] Fix kdf prompt not working on browser (#17902) --- .../encrypted-migrations-scheduler.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts b/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts index cf79c65e998..dd248a582d3 100644 --- a/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts +++ b/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts @@ -38,7 +38,7 @@ export const ENCRYPTED_MIGRATION_DISMISSED = new UserKeyDefinition( }, ); const DISMISS_TIME_HOURS = 24; -const VAULT_ROUTE = "/vault"; +const VAULT_ROUTES = ["/vault", "/tabs/vault", "/tabs/current"]; /** * This services schedules encrypted migrations for users on clients that are interactive (non-cli), and handles manual interaction, @@ -85,7 +85,7 @@ export class DefaultEncryptedMigrationsSchedulerService implements EncryptedMigr ]).pipe( filter( ([authStatus, _date, url]) => - authStatus === AuthenticationStatus.Unlocked && url === VAULT_ROUTE, + authStatus === AuthenticationStatus.Unlocked && VAULT_ROUTES.includes(url), ), concatMap(() => this.runMigrationsIfNeeded(userId)), ),