diff --git a/Linphone/Core/CoreContext.swift b/Linphone/Core/CoreContext.swift index 31d048be3..b73fb63b0 100644 --- a/Linphone/Core/CoreContext.swift +++ b/Linphone/Core/CoreContext.swift @@ -295,6 +295,11 @@ class CoreContext: ObservableObject { } } }, onAuthenticationRequested: { (core: Core, authInfo: AuthInfo, method: AuthMethod) in + guard self.networkStatusIsConnected else { + Log.warn("[CoreContext] Authentication requested while device is offline, ignoring") + return + } + if method == .Bearer { if let server = authInfo.authorizationServer, !server.isEmpty { Log.info("Authentication requested method is Bearer, starting Single Sign On activity with server URL \(server) and username \(authInfo.username ?? "")") diff --git a/Linphone/GeneratedGit.swift b/Linphone/GeneratedGit.swift index 3487e4d82..267e068c0 100644 --- a/Linphone/GeneratedGit.swift +++ b/Linphone/GeneratedGit.swift @@ -2,6 +2,6 @@ import Foundation public enum AppGitInfo { public static let branch = "master" - public static let commit = "9555245ed" + public static let commit = "fa9be23c2" public static let tag = "6.1.0-alpha" }