disable lan if there is a local threat (sec level >=3)

This commit is contained in:
Kevin 2020-06-25 03:28:59 -05:00
parent 03608960c0
commit 1bf365aff4

View File

@ -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'):