@@ -526,7 +526,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
if account == "" { return }
- // check unauthorized server (401)
+ // check unauthorized server (401/403)
if CCUtility.getPassword(account)!.count == 0 {
openLogin(viewController: window?.rootViewController, selector: NCGlobal.shared.introLogin, openLoginWeb: true)
}
@@ -174,7 +174,7 @@ import NCCommunication
if metadata.account == appDelegate.account {
if errorCode != 0 {
- if errorCode != -999 && errorCode != 401 && errorDescription != "" {
+ if errorCode != -999 && errorDescription != "" {
NCContentPresenter.shared.messageNotification("_upload_file_", description: errorDescription, delay: NCGlobal.shared.dismissAfterSecond, type: NCContentPresenter.messageType.error, errorCode: errorCode)