mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-08-03 12:44:45 +02:00
AuthenticationMiddleware fix
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user