           if(web_server.arg("pubpassone").length() > 1 )
           {
               public_wifi_password = web_server.arg("pubpassone");
+	      wifi_is_open = false;
           }
 
           public_static_ip   = IPAddress(web_server.arg("local1").toInt(), web_server.arg("local2").toInt(), web_server.arg("local3").toInt(), web_server.arg("local4").toInt());

      #ifdef WIFI_DEBUG_ON
      debug_info(F("WiFi HK: Forced Public"));
      #endif
      kickWiFi();
    }
    else if(saw_public)
    {


          write_eeprom_memory();
          sendPleaseWait("http://" + public_static_ip.toString() + "/public");
          kickWiFi(false, wifi_is_open);
          return;
        }
      }
