From 169dccac170f796e3ad87a7416db3b8cf66e67f8 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 30 Oct 2025 11:05:42 +0100 Subject: [PATCH] Undo type check --- .../src/common/login-strategies/password-login.strategy.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/auth/src/common/login-strategies/password-login.strategy.ts b/libs/auth/src/common/login-strategies/password-login.strategy.ts index 67f27471571..3886e4c7147 100644 --- a/libs/auth/src/common/login-strategies/password-login.strategy.ts +++ b/libs/auth/src/common/login-strategies/password-login.strategy.ts @@ -251,9 +251,7 @@ export class PasswordLoginStrategy extends LoginStrategy { this.cache.next(data); const [authResult] = await this.startLogIn(); - if (this.cache.value instanceof PasswordLoginStrategyData) { - authResult.masterPassword = this.cache.value["masterPassword"] ?? null; - } + authResult.masterPassword = this.cache.value["masterPassword"] ?? null; return authResult; }