Skip to content

Commit 24d5639

Browse files
author
Marino Faggiana
committed
Remove CHK kOCErrorServerUnauthorized
1 parent f9e7813 commit 24d5639

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

iOSClient/Networking/CCNetworking.m

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -398,12 +398,6 @@ - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didComp
398398
else
399399
errorCode = error.code;
400400

401-
#ifndef EXTENSION
402-
// Unauthorized
403-
if (errorCode == kOCErrorServerUnauthorized)
404-
[app openLoginView:self loginType:loginModifyPasswordUser];
405-
#endif
406-
407401
// Request trusted certificated
408402
if (errorCode == NSURLErrorServerCertificateUntrusted)
409403
[[CCCertificate sharedManager] presentViewControllerCertificateWithTitle:[error localizedDescription] viewController:(UIViewController *)self.delegate delegate:self];

0 commit comments

Comments
 (0)