Эх сурвалжийг харах

Remove CHK kOCErrorServerUnauthorized

Marino Faggiana 7 жил өмнө
parent
commit
24d56394cc

+ 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];