From d3edd7142426796114b14d3d653629c0d7ea0fa8 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Mon, 19 Jun 2023 14:00:11 +0200 Subject: [PATCH] [PM-1033] feat: add support for desktop --- .../login-decryption-options.component.html | 14 ++++++++++++-- apps/desktop/src/auth/sso.component.ts | 4 +++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/auth/login/login-decryption-options/login-decryption-options.component.html b/apps/desktop/src/auth/login/login-decryption-options/login-decryption-options.component.html index 14a36275cfb3..3018523956d4 100644 --- a/apps/desktop/src/auth/login/login-decryption-options/login-decryption-options.component.html +++ b/apps/desktop/src/auth/login/login-decryption-options/login-decryption-options.component.html @@ -8,7 +8,9 @@

{{ "logInInitiated" | i18n }}

-
{{ "deviceApprovalRequired" | i18n }}
+
+ {{ "deviceApprovalRequired" | i18n }} +
@@ -25,7 +27,7 @@
{{ "deviceApprovalRequired" | {{ "uncheckIfPublicDevice" | i18n }} -
+
+
+
+ +
+
+

{{ "loggingInAs" | i18n }} {{ userEmail }}

{{ "notYou" | i18n }} diff --git a/apps/desktop/src/auth/sso.component.ts b/apps/desktop/src/auth/sso.component.ts index 75f380b0ed3a..caabf6e6e5fa 100644 --- a/apps/desktop/src/auth/sso.component.ts +++ b/apps/desktop/src/auth/sso.component.ts @@ -43,7 +43,9 @@ export class SsoComponent extends BaseSsoComponent { cryptoFunctionService, environmentService, passwordGenerationService, - logService + logService, + // TODO: DO NOT MERGE LIKE THIS! + { getFeatureFlagBool: async () => true } as any ); super.onSuccessfulLogin = () => { return syncService.fullSync(true);