From 1b4dad214ae1fe52ce407d2b89a0187ac466722a Mon Sep 17 00:00:00 2001 From: buinsky Date: Sat, 13 Dec 2014 01:25:37 +0300 Subject: [PATCH] Fix setting session id --- src/webui/abstractrequesthandler.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/webui/abstractrequesthandler.cpp b/src/webui/abstractrequesthandler.cpp index 6d6fa1c8b..8753e9409 100644 --- a/src/webui/abstractrequesthandler.cpp +++ b/src/webui/abstractrequesthandler.cpp @@ -45,8 +45,6 @@ AbstractRequestHandler::AbstractRequestHandler(const HttpRequest &request, const HttpResponse AbstractRequestHandler::run() { - response_ = HttpResponse(); - if (isBanned()) { status(403, "Forbidden"); print(QObject::tr("Your IP address has been banned after too many failed authentication attempts."), CONTENT_TYPE_TXT);