server.on("/action", HTTP_GET, [](AsyncWebServerRequest* request) {
if (auth_user && auth_pwd && auth_user[0] && auth_pwd[0] && !request->authenticate(auth_user, auth_pwd)) {
server.on("/action", HTTP_GET, [](AsyncWebServerRequest* request) {
if (auth_user && auth_pwd && auth_user[0] && auth_pwd[0] && !request->authenticate(auth_user, auth_pwd)) {