mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 01:45:55 +08:00
ios: Do not log the private key
This commit is contained in:
@ -30,6 +30,10 @@ NSString* GetDirectoryOfType(NSSearchPathDirectory dir) {
|
||||
NSLog(@"Called %@", method);
|
||||
if (arguments != nil) {
|
||||
for (NSString *key in [arguments allKeys]) {
|
||||
if ([key isEqualToString:@"privateKey"]) {
|
||||
NSLog(@". privateKey: <hidden>");
|
||||
continue;
|
||||
}
|
||||
NSLog(@". %@: %@", key, [arguments objectForKey:key]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user