Skip to content

Commit c021fdb

Browse files
committed
Fix login poll timer not cancelling
Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
1 parent dea86a0 commit c021fdb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Brand/NCBrand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ let userAgent: String = {
7373
var doNotAskPasscodeAtStartup: Bool = false
7474
var disable_source_code_in_settings: Bool = false
7575
var enforce_passcode_lock = false
76-
var use_in_app_browser_for_login = true
76+
var use_in_app_browser_for_login = false
7777

7878
// (name: "Name 1", url: "https://cloud.nextcloud.com"),(name: "Name 2", url: "https://cloud.nextcloud.com")
7979
var enforce_servers: [(name: String, url: String)] = []

iOSClient/Login/NCLogin.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@ extension NCLogin: ClientCertificateDelegate, UIDocumentPickerDelegate {
549549
}
550550
}
551551
}
552+
553+
timer.cancel()
552554
}
553555
}
554556
}

0 commit comments

Comments
 (0)