HandlerLogin: Remove dead code

Этот коммит содержится в:
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");