From 70326599c649f19c5e3af6ef231eee65fb0712da Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 30 Oct 2025 10:44:17 +0100 Subject: [PATCH] Add tech debt comment --- libs/auth/src/common/login-strategies/login.strategy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/auth/src/common/login-strategies/login.strategy.ts b/libs/auth/src/common/login-strategies/login.strategy.ts index 276e6e11e7d..96d25881ba7 100644 --- a/libs/auth/src/common/login-strategies/login.strategy.ts +++ b/libs/auth/src/common/login-strategies/login.strategy.ts @@ -87,7 +87,7 @@ export abstract class LoginStrategy { protected KdfConfigService: KdfConfigService, protected environmentService: EnvironmentService, protected configService: ConfigService, - ) {} + ) { } abstract exportCache(): CacheData; @@ -266,6 +266,7 @@ export abstract class LoginStrategy { this.messagingService.send("loggedIn"); // There is an import cycle between PasswordLoginStrategyData and LoginStrategy, which means this cast is necessary, which is solved by extracting the data classes. + // TODO: https://bitwarden.atlassian.net/browse/PM-27573 result.masterPassword = (this.cache.value as any)["masterPassword"] ?? null; return result;