From dafcafa11d6d788fbdacc2adbe1e840d904a754f Mon Sep 17 00:00:00 2001 From: casey langen Date: Mon, 25 May 2020 19:36:41 -0700 Subject: [PATCH] Fixed a bug where HTTP authentication was not functioning properly. --- src/plugins/server/HttpServer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/server/HttpServer.cpp b/src/plugins/server/HttpServer.cpp index ac8a03473..60184a3ee 100644 --- a/src/plugins/server/HttpServer.cpp +++ b/src/plugins/server/HttpServer.cpp @@ -252,8 +252,6 @@ static std::string getStringUrlParam( } static bool isAuthenticated(MHD_Connection *connection, Context& context) { - return true; - const char* disableAuth = std::getenv(ENVIRONMENT_DISABLE_HTTP_SERVER_AUTH); if (disableAuth && std::string(disableAuth) == "1") { return true;