mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-09-12 14:02:20 +00:00
Fix setting session id
This commit is contained in:
parent
861c8e9ffa
commit
1b4dad214a
@ -45,8 +45,6 @@ AbstractRequestHandler::AbstractRequestHandler(const HttpRequest &request, const
|
|||||||
|
|
||||||
HttpResponse AbstractRequestHandler::run()
|
HttpResponse AbstractRequestHandler::run()
|
||||||
{
|
{
|
||||||
response_ = HttpResponse();
|
|
||||||
|
|
||||||
if (isBanned()) {
|
if (isBanned()) {
|
||||||
status(403, "Forbidden");
|
status(403, "Forbidden");
|
||||||
print(QObject::tr("Your IP address has been banned after too many failed authentication attempts."), CONTENT_TYPE_TXT);
|
print(QObject::tr("Your IP address has been banned after too many failed authentication attempts."), CONTENT_TYPE_TXT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user