Password protection for security settings API

Also implemented the base functionallity to protect further API endpoints.
This commit is contained in:
Thomas Basler
2022-11-03 21:00:13 +01:00
parent af4b47beeb
commit 8d14dbd367
16 changed files with 295 additions and 13 deletions

View File

@@ -24,6 +24,8 @@ public:
void init();
void loop();
static bool checkCredentials(AsyncWebServerRequest* request);
private:
AsyncWebServer _server;
AsyncEventSource _events;