mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-05-02 10:15:31 +00:00
Fix Login
Fixes Login Account from Insecure App
This commit is contained in:
parent
329fb1681a
commit
2ff0f3fb56
1 changed files with 18 additions and 1 deletions
17
uYouPlus.xm
17
uYouPlus.xm
|
|
@ -374,6 +374,23 @@ BOOL hidePaidPromotionCard() {
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%hook NSJSONSerialization
|
||||||
|
+ (id)dataWithJSONObject:(id)arg1 options:(unsigned long long)arg2 error:(id*)arg3
|
||||||
|
{
|
||||||
|
@try {
|
||||||
|
if(arg1 && ([arg1 isKindOfClass:[NSDictionary class]] || [arg1 isKindOfClass:[NSMutableDictionary class]]) ) {
|
||||||
|
if(arg1[@"device_challenge_request"] != nil) {
|
||||||
|
NSMutableDictionary *MutRet = [arg1 mutableCopy];
|
||||||
|
[MutRet removeObjectForKey:@"device_challenge_request"];
|
||||||
|
arg1 = MutRet;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}@catch(NSException*e){
|
||||||
|
}
|
||||||
|
return %orig(arg1, arg2, arg3);
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
# pragma mark - OLED dark mode by BandarHL
|
# pragma mark - OLED dark mode by BandarHL
|
||||||
UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:1.0];
|
UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:1.0];
|
||||||
%group gOLED
|
%group gOLED
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue