";
//new (&custom_field_apikey) WiFiManagerParameter(custom_apikey_str); // custom html input
- new (&custom_field_apikey) WiFiManagerParameter("apikey", "BierBot Bricks API Key", "aZ42ILoveBrewingB33r", 37, "placeholder=\"get your API key at bricks.bierbot.com\"");
+ new (&custom_field_apikey) WiFiManagerParameter("apikey", "BierBot Bricks API Key", "", 37, "placeholder=\"get your API key at bricks.bierbot.com\"");
wm.addParameter(&custom_field_apikey);
//wm.setConfigPortalBlocking(false);
@@ -343,9 +346,7 @@ void setup()
// then goes into a blocking loop awaiting configuration and will return success result
bool res;
- // res = wm.autoConnect(); // auto generated AP name from chipid
- // res = wm.autoConnect("AutoConnectAP"); // anonymous ap
- res = wm.autoConnect("BierBot Brick 101"); // password protected ap
+ res = wm.autoConnect(ssid.c_str());
if (!res)
{