Don't output access token in debug log.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-12-29 05:27:16 +01:00
parent eab7280ad3
commit 26b3d56fdf
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 4 deletions

View File

@ -170,8 +170,7 @@ proxy support yet, sorry.
== DEBUGGING
Define the variable `MASTORSS_DEBUG` to enable debug output. The output will
contain the access token, so be careful if you share it.
Define the variable `MASTORSS_DEBUG` to enable debug output.
.Debug mastorss while using the profile “example”.
================================================================================

View File

@ -41,8 +41,7 @@ using std::move;
std::ostream &operator <<(std::ostream &out, const ProfileData &data)
{
out << "access_token: \"" << data.access_token << "\", "
<< "append: \"" << data.append << "\", "
out << "append: \"" << data.append << "\", "
<< "feedurl: \"" << data.feedurl << "\", "
<< "fixes: [";
for (const auto &fix : data.fixes)