Forráskód Böngészése

Remove CHK kOCErrorServerUnauthorized

Marino Faggiana 7 éve
szülő
commit
24d56394cc
1 módosított fájl, 0 hozzáadás és 6 törlés
  1. 0 6
      iOSClient/Networking/CCNetworking.m

+ 0 - 6
iOSClient/Networking/CCNetworking.m

@@ -398,12 +398,6 @@
         else
             errorCode = error.code;
         
-#ifndef EXTENSION
-        // Unauthorized
-        if (errorCode == kOCErrorServerUnauthorized)
-            [app openLoginView:self loginType:loginModifyPasswordUser];
-#endif
-        
         // Request trusted certificated
         if (errorCode == NSURLErrorServerCertificateUntrusted)
             [[CCCertificate sharedManager] presentViewControllerCertificateWithTitle:[error localizedDescription] viewController:(UIViewController *)self.delegate delegate:self];