From 5781ec7a8e49a9fc310d614356d24c630178eba8 Mon Sep 17 00:00:00 2001 From: Misha Bragin Date: Fri, 6 Oct 2023 17:03:17 +0200 Subject: [PATCH] Use the PCKE flow in the UI (#1196) --- client/ui/client_ui.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/ui/client_ui.go b/client/ui/client_ui.go index e6b4394e8..d2c18dc37 100644 --- a/client/ui/client_ui.go +++ b/client/ui/client_ui.go @@ -202,9 +202,10 @@ func (s *serviceClient) getSettingsForm() *widget.Form { } _, err = client.Login(s.ctx, &proto.LoginRequest{ - ManagementUrl: s.iMngURL.Text, - AdminURL: s.iAdminURL.Text, - PreSharedKey: s.iPreSharedKey.Text, + ManagementUrl: s.iMngURL.Text, + AdminURL: s.iAdminURL.Text, + PreSharedKey: s.iPreSharedKey.Text, + IsLinuxDesktopClient: runtime.GOOS == "linux", }) if err != nil { log.Errorf("login to management URL: %v", err)