mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Print the default web UI password on stdout when runing nox
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
- BUGFIX: Added --enable-debug parameter to the configure script
|
||||
- BUGFIX: Prioritize first and last pieces when sequential download is enabled
|
||||
- BUGFIX: Some encoding fixes (Windows)
|
||||
- BUGFIX: Display default password on stdout when using nox
|
||||
|
||||
* Sat Jan 1 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.5.3
|
||||
- BUGFIX: Fix priority up/down for multiple torrents at the same time (closes #692184)
|
||||
|
||||
@@ -54,7 +54,8 @@ public:
|
||||
std::cout << std::endl << "******** " << qPrintable(tr("Information")) << " ********" << std::endl;
|
||||
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;
|
||||
if(pref.getWebUiPassword() == "f6fdffe48c908deb0f4c3bd36c032e72") {
|
||||
qDebug() << "Password:" << pref.getWebUiPassword();
|
||||
if(pref.getWebUiPassword() == "32fe0bd2bb001911bb8bcfe23fc92b63") {
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user