summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmdline/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/main.cpp b/cmdline/main.cpp
index 466af4d..c04c433 100644
--- a/cmdline/main.cpp
+++ b/cmdline/main.cpp
@@ -101,7 +101,7 @@ int main(int argc, char *argv[])
}
TQTextStream stream(&passFile);
credentials.username = args->getOption("adminusername");
- credentials.password = stream.readLine();
+ credentials.password = stream.readLine().utf8();
passFile.close();
}
else {