Unverified Commit 82be595f authored by Davide De Rosa's avatar Davide De Rosa Committed by GitHub

Merge pull request #11 from pia-foss/develop

Develop 1.1.3
parents 1dfc06e6 b8a1a95f
Pod::Spec.new do |s|
s.name = "PIALibrary"
s.version = "1.1.2"
s.version = "1.1.3"
s.summary = "PIA client library in Swift."
s.homepage = "https://www.privateinternetaccess.com/"
......
......@@ -132,7 +132,7 @@ extension Client {
var allConfigurations: [String: VPNCustomConfiguration] = [:]
for (vpnType, map) in allMaps {
let profile = configuration.profile(forVPNType: vpnType)
guard let configuration = profile?.parsedCustomConfiguration(from: map) else {
guard let configuration = profile?.parsedCustomConfiguration(from: map) ?? defaults.vpnCustomConfiguration(for: vpnType) else {
continue
}
allConfigurations[vpnType] = configuration
......
......@@ -92,7 +92,7 @@ public class Keychain {
setScope(query: &query)
query[kSecClass as String] = kSecClassGenericPassword
query[kSecAttrAccount as String] = username
query[kSecAttrAccessible as String] = kSecAttrAccessibleAfterFirstUnlock
//query[kSecAttrAccessible as String] = kSecAttrAccessibleAfterFirstUnlock
query[kSecMatchLimit as String] = kSecMatchLimitOne
query[kSecReturnData as String] = true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment