From 072c3da550e3797e19ba5e82cd9acc746efba3f7 Mon Sep 17 00:00:00 2001 From: ab7pa Date: Sun, 19 Feb 2023 13:11:41 -0700 Subject: [PATCH] remove WAN Wifi Client key lower limit --- files/www/cgi-bin/setup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/www/cgi-bin/setup b/files/www/cgi-bin/setup index 879f288d..3a926739 100755 --- a/files/www/cgi-bin/setup +++ b/files/www/cgi-bin/setup @@ -666,11 +666,11 @@ if parms.button_save then end end if wifi3_enable == "1" then - if #wifi3_key ~= 0 and (#wifi3_key < 8 or #wifi3_key > 64) then - err("WAN Wifi Client Password must be between 8 and 64 characters") + if #wifi3_key > 64 then + err("WAN Wifi Client Password must be 64 characters or less") end if wifi3_key:match("'") or wifi3_ssid:match("'") then - err("The WAN Wifi Client password and ssid may not contain a single quote character") + err("The WAN Wifi Client password and ssid cannot contain a single quote character") end end