Browse Source

remove request view for NSURLErrorServerCertificateUntrusted

Marino Faggiana 7 years ago
parent
commit
9a0d40a05a
1 changed files with 0 additions and 4 deletions
  1. 0 4
      iOSClient/Networking/CCNetworking.m

+ 0 - 4
iOSClient/Networking/CCNetworking.m

@@ -397,10 +397,6 @@
             errorCode = httpResponse.statusCode;
         else
             errorCode = error.code;
-        
-        // Request trusted certificated
-        if (errorCode == NSURLErrorServerCertificateUntrusted)
-            [[CCCertificate sharedManager] presentViewControllerCertificateWithTitle:[error localizedDescription] viewController:(UIViewController *)self.delegate delegate:self];
     }
 
     // ----------------------- DOWNLOAD -----------------------