AuthenticationMiddleware fix

This commit is contained in:
Mathieu Carbou
2024-10-03 01:28:02 +02:00
parent 13cf6e223c
commit 77456a184b

View File

@@ -100,7 +100,7 @@ bool AuthenticationMiddleware::allowed(AsyncWebServerRequest* request) {
return true; return true;
if (_authMethod == AsyncAuthType::AUTH_DENIED) if (_authMethod == AsyncAuthType::AUTH_DENIED)
return true; return false;
if (!_hasCreds) if (!_hasCreds)
return true; return true;