don't censor offline access token
This commit is contained in:
parent
fe2e1d931f
commit
b40619bcbd
@ -747,7 +747,9 @@ QMap<QString, QString> MinecraftInstance::createCensorFilterFromSession(AuthSess
|
|||||||
{
|
{
|
||||||
addToFilter(sessionRef.session, tr("<SESSION ID>"));
|
addToFilter(sessionRef.session, tr("<SESSION ID>"));
|
||||||
}
|
}
|
||||||
addToFilter(sessionRef.access_token, tr("<ACCESS TOKEN>"));
|
if (sessionRef.access_token != "offline") {
|
||||||
|
addToFilter(sessionRef.access_token, tr("<ACCESS TOKEN>"));
|
||||||
|
}
|
||||||
if(sessionRef.client_token.size()) {
|
if(sessionRef.client_token.size()) {
|
||||||
addToFilter(sessionRef.client_token, tr("<CLIENT TOKEN>"));
|
addToFilter(sessionRef.client_token, tr("<CLIENT TOKEN>"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user