mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-13 19:36:26 +03:00
18 lines
525 B
C++
18 lines
525 B
C++
#ifdef EMSESP_STANDALONE
|
|
|
|
#include "SecuritySettingsService.h"
|
|
|
|
User ADMIN_USER = User(FACTORY_ADMIN_USERNAME, FACTORY_ADMIN_PASSWORD, true);
|
|
|
|
SecuritySettingsService::SecuritySettingsService(AsyncWebServer * server, FS * fs)
|
|
: SecurityManager() {
|
|
}
|
|
SecuritySettingsService::~SecuritySettingsService() {
|
|
}
|
|
|
|
// Return the admin user on all requests - disabling security features
|
|
Authentication SecuritySettingsService::authenticateRequest(AsyncWebServerRequest * request) {
|
|
return Authentication(ADMIN_USER);
|
|
}
|
|
|
|
#endif |