mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-11 17:30:37 +01:00
Password protection for security settings API
Also implemented the base functionallity to protect further API endpoints.
This commit is contained in:
@@ -24,6 +24,8 @@ public:
|
||||
void init();
|
||||
void loop();
|
||||
|
||||
static bool checkCredentials(AsyncWebServerRequest* request);
|
||||
|
||||
private:
|
||||
AsyncWebServer _server;
|
||||
AsyncEventSource _events;
|
||||
|
||||
Reference in New Issue
Block a user