|
@@ -66,7 +66,7 @@ import NCCommunication
|
|
|
|
|
|
} else {
|
|
|
|
|
|
- if UIApplication.shared.applicationState == .active && NCCommunication.shared.isNetworkReachable() {
|
|
|
+ if UIApplication.shared.applicationState == .active && NCCommunication.shared.isNetworkReachable() && !CCUtility.getPassword(account).isEmpty {
|
|
|
let description = String.localizedStringWithFormat(NSLocalizedString("_error_check_remote_user_", comment: ""), tableAccount.user, tableAccount.urlBase)
|
|
|
NCContentPresenter.shared.messageNotification("_error_", description: description, delay: NCGlobal.shared.dismissAfterSecondLong, type: NCContentPresenter.messageType.error, errorCode: errorCode, priority: .max)
|
|
|
CCUtility.setPassword(account, password: nil)
|