disable lan if there is a local threat (sec level >=3)
parent
03608960c0
commit
1bf365aff4
|
@ -43,6 +43,7 @@ def set_config_from_onboarding(config_settings: OnboardingConfig):
|
||||||
|
|
||||||
if get(config_settings, 'localThreat'):
|
if get(config_settings, 'localThreat'):
|
||||||
config.set('general.security_level', 3)
|
config.set('general.security_level', 3)
|
||||||
|
config.set('transports.lan', False)
|
||||||
|
|
||||||
config.set('ui.theme', 'light')
|
config.set('ui.theme', 'light')
|
||||||
if get(config_settings, 'useDark'):
|
if get(config_settings, 'useDark'):
|
||||||
|
|
Loading…
Reference in New Issue