Browse Source

Remove CHK kOCErrorServerUnauthorized

Marino Faggiana 7 năm trước cách đây
mục cha
commit
24d56394cc
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  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];