diff --git a/esp-link/cgiwifi.c b/esp-link/cgiwifi.c index 3603fd0..fac5a03 100644 --- a/esp-link/cgiwifi.c +++ b/esp-link/cgiwifi.c @@ -579,6 +579,8 @@ int ICACHE_FLASH_ATTR cgiApSettingsChange(HttpdConnData *connData) { // If out of range set by default apconf.authmode = 4; } + }else{ + apconf.authmode = 4; } }else{ apconf.authmode = 0;