Browse Source

Fix setting session id

adaptive-webui-19844
buinsky 10 years ago
parent
commit
1b4dad214a
  1. 2
      src/webui/abstractrequesthandler.cpp

2
src/webui/abstractrequesthandler.cpp

@ -45,8 +45,6 @@ AbstractRequestHandler::AbstractRequestHandler(const HttpRequest &request, const @@ -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);

Loading…
Cancel
Save