Commit b7c369ad authored by rgaudin's avatar rgaudin
Browse files

WPA passphrase must be 8chars min

parent 9a76dd90
...@@ -501,7 +501,8 @@ def check_user_inputs( ...@@ -501,7 +501,8 @@ def check_user_inputs(
valid_timezone = timezone in pytz.common_timezones valid_timezone = timezone in pytz.common_timezones
valid_wifi_pwd = ( valid_wifi_pwd = (
len(wifi_pwd) <= 31 len(wifi_pwd) >= 8
and len(wifi_pwd) <= 31
and set(wifi_pwd) and set(wifi_pwd)
<= set( <= set(
string.ascii_uppercase + string.ascii_lowercase + string.digits + "-" + "_" string.ascii_uppercase + string.ascii_lowercase + string.digits + "-" + "_"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment