Don't set username on NETunnelProviderProtocol
The username corresponds to the Account field in iOS system VPN UI, but if we don't set it, the field is not shown, so setting it isn't really required. Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
e6e1795d08
commit
d29f47fc9b
|
@ -32,9 +32,6 @@ extension NETunnelProviderProtocol {
|
||||||
} else {
|
} else {
|
||||||
serverAddress = "Multiple endpoints"
|
serverAddress = "Multiple endpoints"
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO(roopc): Why are we doing this? Just for kicks? Is it useful? Seems needless.
|
|
||||||
username = tunnelConfiguration.name
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func asTunnelConfiguration(called name: String? = nil) -> TunnelConfiguration? {
|
func asTunnelConfiguration(called name: String? = nil) -> TunnelConfiguration? {
|
||||||
|
|
Loading…
Reference in New Issue