HandlerLogin: Remove dead code

This commit is contained in:
Albert S. 2021-04-16 16:32:57 +02:00
والد 9f9fd2920b
کامیت b995362d1f
1فایلهای تغییر یافته به همراه0 افزوده شده و 4 حذف شده

مشاهده پرونده

@ -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");