adium/adium

Parents df415de314d5
Children 604f0f125b2a
Don't log things to the debug log that might contain access_tokens or refresh_tokens for the user, as they give (limited) access to their account.
--- a/Plugins/Purple Service/AIPurpleGTalkAccount.m Thu Apr 02 08:32:02 2015 +0200
+++ b/Plugins/Purple Service/AIPurpleGTalkAccount.m Thu Apr 02 16:57:14 2015 +0200
@@ -219,7 +219,7 @@
- (void)connectionDidFinishLoading:(NSURLConnection *)inConnection {
NSDictionary *responseDict = [response objectFromJSONData];
- AILogWithSignature(@"%@", responseDict);
+ AILogWithSignature(@"");
if ([responseDict objectForKey:@"error"]) {
// Delete the refresh token, so we don't use it again.
@@ -260,7 +260,7 @@
NSData *identityData = [NSData dataFromBase64String:base64EncodedIdentity];
NSDictionary *identity = [identityData objectFromJSONData];
- AILogWithSignature(@"%@", identity);
+ AILogWithSignature(@"");
[self filterAndSetUID:[identity objectForKey:@"email"]];
}