From 9a534f62d55822c0effe6ca97d6d5a06c6e4f284 Mon Sep 17 00:00:00 2001 From: Gabriele Date: Fri, 12 Dec 2014 11:52:32 +0100 Subject: [PATCH] headless: Update default password hash Use the md5 of 'adminadmin'. --- src/headlessloader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headlessloader.h b/src/headlessloader.h index 4bf17405e..770a98292 100644 --- a/src/headlessloader.h +++ b/src/headlessloader.h @@ -59,7 +59,7 @@ public: std::cout << qPrintable(tr("To control qBittorrent, access the Web UI at http://localhost:%1").arg(QString::number(pref->getWebUiPort()))) << std::endl; std::cout << qPrintable(tr("The Web UI administrator user name is: %1").arg(pref->getWebUiUsername())) << std::endl; qDebug() << "Password:" << pref->getWebUiPassword(); - if (pref->getWebUiPassword() == "32fe0bd2bb001911bb8bcfe23fc92b63") { + if (pref->getWebUiPassword() == "f6fdffe48c908deb0f4c3bd36c032e72") { std::cout << qPrintable(tr("The Web UI administrator password is still the default one: %1").arg("adminadmin")) << std::endl; std::cout << qPrintable(tr("This is a security risk, please consider changing your password from program preferences.")) << std::endl; }