Fix migration not recovering auth-user-pass option
Was looking up new UUID, not migrated one.
This commit is contained in:
parent
4a047ece58
commit
3a3d2460a8
|
@ -186,7 +186,7 @@ extension AppManager {
|
|||
remotes.append("\(hostname):\($0)")
|
||||
}
|
||||
ovpn["remotes"] = remotes
|
||||
ovpn["authUserPass"] = authUserPass.contains(header.id.uuidString)
|
||||
ovpn["authUserPass"] = authUserPass.contains(oldUUIDString)
|
||||
let cfg = try JSON(ovpn).decode(OpenVPN.Configuration.self)
|
||||
|
||||
// keychain
|
||||
|
|
Loading…
Reference in New Issue