diff --git a/handlers/handlerlogin.cpp b/handlers/handlerlogin.cpp index a91707d..b34008d 100644 --- a/handlers/handlerlogin.cpp +++ b/handlers/handlerlogin.cpp @@ -26,10 +26,6 @@ SOFTWARE. Response HandlerLogin::handleRequest(const Request &r) { - auto createErrorReesponse = [&]() { - return errorResponse("Login error", "The supplied credentials are incorrect"); - }; - if(r.param("submit") == "1") { std::string password = r.post("password");