From 8de1a2ded126a5cdc219b8fee7c2693f83726cfc Mon Sep 17 00:00:00 2001 From: Milen Pivchev Date: Thu, 30 May 2024 13:30:22 +0200 Subject: [PATCH] WIP Signed-off-by: Milen Pivchev --- Brand/NCBrand.swift | 2 +- iOSClient/Login/NCLoginPoll.swift | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Brand/NCBrand.swift b/Brand/NCBrand.swift index 2204b54c65..cf18148b0f 100755 --- a/Brand/NCBrand.swift +++ b/Brand/NCBrand.swift @@ -59,7 +59,7 @@ let userAgent: String = { @objc public var capabilitiesGroupApps: String = "group.com.nextcloud.apps" // BRAND ONLY - @objc public var use_login_web_personalized: Bool = true // Don't touch me !! + @objc public var use_login_web_personalized: Bool = false // Don't touch me !! @objc public var use_AppConfig: Bool = false // Don't touch me !! @objc public var use_GroupApps: Bool = true // Don't touch me !! diff --git a/iOSClient/Login/NCLoginPoll.swift b/iOSClient/Login/NCLoginPoll.swift index 26b6eb2f88..fe5715d90c 100644 --- a/iOSClient/Login/NCLoginPoll.swift +++ b/iOSClient/Login/NCLoginPoll.swift @@ -62,10 +62,10 @@ struct NCLoginPoll: View { } } .background(Color(NCBrandColor.shared.customer)) -// .onAppear { -// loginManager.configure(loginFlowV2Token: loginFlowV2Token, loginFlowV2Endpoint: loginFlowV2Endpoint, loginFlowV2Login: loginFlowV2Login) -// loginManager.openLoginInBrowser() -// } + .onAppear { + loginManager.configure(loginFlowV2Token: loginFlowV2Token, loginFlowV2Endpoint: loginFlowV2Endpoint, loginFlowV2Login: loginFlowV2Login) + loginManager.openLoginInBrowser() + } .interactiveDismissDisabled() } }