mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fixed a bug where HTTP authentication was not functioning properly.
This commit is contained in:
parent
3705cdef9f
commit
dafcafa11d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user