@@ -52,8 +52,6 @@ def render_content
5252 HSquash (
5353 MinWidth ( 30 , Password ( Id ( :scc_password ) , _ ( 'Organization &Password' ) ) )
5454 ) ,
55- VSpacing ( 1 ) ,
56- CheckBox ( Id ( :scc_sync_systems ) , _ ( 'Forward systems to SCC' ) ) ,
5755 VSpacing ( 1 )
5856 ) ,
5957 HSpacing ( 1 )
@@ -70,7 +68,6 @@ def render_content
7068
7169 UI . ChangeWidget ( Id ( :scc_username ) , :Value , @config [ 'scc' ] [ 'username' ] )
7270 UI . ChangeWidget ( Id ( :scc_password ) , :Value , @config [ 'scc' ] [ 'password' ] )
73- UI . ChangeWidget ( Id ( :scc_sync_systems ) , :Value , @config [ 'scc' ] [ 'sync_systems' ] )
7471 end
7572
7673 def abort_handler
@@ -80,7 +77,7 @@ def abort_handler
8077 def skip_handler
8178 @config [ 'scc' ] [ 'username' ] = UI . QueryWidget ( Id ( :scc_username ) , :Value )
8279 @config [ 'scc' ] [ 'password' ] = UI . QueryWidget ( Id ( :scc_password ) , :Value )
83- @config [ 'scc' ] [ 'sync_systems' ] = UI . QueryWidget ( Id ( :scc_sync_systems ) , :Value )
80+ @config [ 'scc' ] [ 'sync_systems' ] = false
8481
8582 return unless Popup . AnyQuestion (
8683 _ ( 'Skip SCC registration?' ) ,
@@ -97,7 +94,7 @@ def skip_handler
9794 def next_handler
9895 @config [ 'scc' ] [ 'username' ] = UI . QueryWidget ( Id ( :scc_username ) , :Value )
9996 @config [ 'scc' ] [ 'password' ] = UI . QueryWidget ( Id ( :scc_password ) , :Value )
100- @config [ 'scc' ] [ 'sync_systems' ] = UI . QueryWidget ( Id ( :scc_sync_systems ) , :Value )
97+ @config [ 'scc' ] [ 'sync_systems' ] = false
10198
10299 return unless scc_credentials_valid? || Popup . AnyQuestion (
103100 _ ( 'Continue with invalid credentials?' ) ,
0 commit comments