Skip to content

Commit

Permalink
mathieucarbou/ESPAsyncWebServer @ 3.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Oct 1, 2024
1 parent bf7d664 commit ca1afeb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/ESPDASHPro
2 changes: 1 addition & 1 deletion lib/WebSerialPro
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ lib_deps =
olikraus/U8g2 @ 2.35.27
robtillaart/CRC @ 1.0.3
mathieucarbou/AsyncTCP @ 3.2.5
mathieucarbou/ESPAsyncWebServer @ 3.3.4
mathieucarbou/ESPAsyncWebServer @ 3.3.5
mathieucarbou/MycilaConfig @ 3.1.0
mathieucarbou/MycilaDS18 @ 4.1.0
mathieucarbou/MycilaESPConnect @ 6.0.1
Expand Down
3 changes: 2 additions & 1 deletion src/init/HTTP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ Mycila::Task initWebTask("Init Web", [](void* params) {

loggingMiddleware.setOutput(Serial);

authMiddleware.setAuthType(AuthenticationMiddleware::AuthType::AUTH_DIGEST);
authMiddleware.setAuthType(AsyncAuthType::AUTH_DIGEST);
authMiddleware.setRealm("YaSolR");
authMiddleware.setUsername(YASOLR_ADMIN_USERNAME);
authMiddleware.setPassword(config.get(KEY_ADMIN_PASSWORD).c_str());
authMiddleware.generateHash();

webServer.addMiddleware(&loggingMiddleware);
webServer.addMiddleware(&authMiddleware);
Expand Down

0 comments on commit ca1afeb

Please sign in to comment.