diff options
| author | Chris Bessent <lost.dragonist@gmail.com> | 2021-11-23 17:19:00 -0700 |
|---|---|---|
| committer | Chris Bessent <lost.dragonist@gmail.com> | 2021-11-23 17:19:00 -0700 |
| commit | 1d80c547d7c63b694fa79825e67694eae63749b2 (patch) | |
| tree | ea4123d3f72516a9b6aa32eb8f14f48fca806a4f /src/spawn.cpp | |
| parent | 1755f526c96a547f33306008bff99f12a3e4da72 (diff) | |
Blacklist Steam username and password from the log
Diffstat (limited to 'src/spawn.cpp')
| -rw-r--r-- | src/spawn.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/spawn.cpp b/src/spawn.cpp index 68526165..4f1fdd3e 100644 --- a/src/spawn.cpp +++ b/src/spawn.cpp @@ -625,6 +625,8 @@ bool startSteam(QWidget* parent) // See if username and password supplied. If so, pass them into steam.
QString username, password;
if (Settings::instance().steam().login(username, password)) {
+ MOBase::log::getDefault().addToBlacklist(username.toStdString(), "STEAM_USERNAME");
+ MOBase::log::getDefault().addToBlacklist(password.toStdString(), "STEAM_PASSWORD");
sp.arguments = makeSteamArguments(username, password);
}
|
