GH-1643 do not censor preferredLanguage in logs
This commit is contained in:
parent
e2f3652a0f
commit
55544893a3
@ -272,6 +272,11 @@ QMap<QString, QString> MinecraftInstance::createCensorFilterFromSession(AuthSess
|
||||
auto i = sessionRef.u.properties.begin();
|
||||
while (i != sessionRef.u.properties.end())
|
||||
{
|
||||
if(i.key() == "preferredLanguage")
|
||||
{
|
||||
++i;
|
||||
continue;
|
||||
}
|
||||
addToFilter(i.value(), "<" + i.key().toUpper() + ">");
|
||||
++i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user