feat: Passwortanforderungen für AP und verbesserte Fehlerbehandlung bei WiFi-Verbindungen; Versionsnummer auf 1.0.73 erhöht
This commit is contained in:
@@ -53,7 +53,7 @@ DEFAULT_CONFIG = {
|
||||
'verify_checksum': False, 'delete_source': False,
|
||||
# WiFi
|
||||
'wifi_ssid': '', 'wifi_password': '',
|
||||
'ap_ssid': 'PiCopy', 'ap_password': 'PiCopy,',
|
||||
'ap_ssid': 'PiCopy', 'ap_password': 'PiCopy123',
|
||||
# WireGuard
|
||||
'wireguard_auto': False,
|
||||
}
|
||||
@@ -70,6 +70,9 @@ def load_cfg():
|
||||
except Exception: pass
|
||||
except Exception as e:
|
||||
log.warning(f'config.json nicht lesbar: {e}')
|
||||
# Migration: altes 7-Zeichen-Standardpasswort auf gültiges WPA2-Passwort anheben
|
||||
if cfg.get('ap_password') == 'PiCopy,':
|
||||
cfg['ap_password'] = 'PiCopy123'
|
||||
return cfg
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user