Do not log token (#570)

This commit is contained in:
Uwe Seimet 2021-12-27 22:20:26 +01:00 committed by GitHub
parent 270a3688c6
commit 97127cf666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -858,7 +858,8 @@ bool ProcessCmd(const CommandContext& context, const PbDeviceDefinition& pb_devi
s << ", ";
}
isFirst = false;
s << "'" << param.first << "=" << param.second << "'";
string value = param.first != "token" ? param.second : "???";
s << "'" << param.first << "=" << value << "'";
}
}