summaryrefslogtreecommitdiffstats
path: root/src/Client/UserCommands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Client/UserCommands.cpp')
-rw-r--r--src/Client/UserCommands.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Client/UserCommands.cpp b/src/Client/UserCommands.cpp
index fe5343c..2fc33db 100644
--- a/src/Client/UserCommands.cpp
+++ b/src/Client/UserCommands.cpp
@@ -20,7 +20,7 @@
#include "UserCommands.h"
#include "Application.h"
#include "CommandParser.h"
-#include "PasswordReader.h"
+#include "ConsoleUtil.h"
#include <Common/RequestManager.h>
#include <Common/UserManager.h>
@@ -511,8 +511,8 @@ void UserCommands::setPasswordCommand(CommandParser *commandParser, const std::v
return;
}
- Core::String password = PasswordReader::readPassword("Password: ");
- Core::String password2 = PasswordReader::readPassword("Verify password: ");
+ Core::String password = ConsoleUtil::readPassword("Password: ");
+ Core::String password2 = ConsoleUtil::readPassword("Verify password: ");
if(password != password2) {
std::cerr << "Passwords do not match." << std::endl;