khoih-prog/EthernetWebServer

server.authenticate problem

dirkdickler opened this issue · 2 comments

If I use newest ver. 1.8.1 (when I use 1.7.0 work correct)

  • I get problem with server.authenticate
  • server.on(F("/"), {
    if (!server.authenticate(www_username, www_password))
    {
    return server.requestAuthentication();
    }
    server.send(200, F("text/plain"), F("Login OK"));
    });

If you call above you don't get LOGIN windows, but clear window and callin finis with :
return server.requestAuthentication();

  • I testing on ESP32-S2 + W5500 + Ehtrenet3 lib (this lib I patchet library)

Close via PR #42

Hi @dirkdickler

The new EthernetWebServer releases v1.8.2 has just been published. Your contribution is noted in Contributions and Thanks

Best Regards,


Releases v1.8.2

  1. Fix wrong http status header bug. Check fix for wrong http status header #42