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:
Roopesh Chander 2018-12-22 16:13:31 +05:30
parent e6e1795d08
commit d29f47fc9b
1 changed files with 0 additions and 3 deletions

View File

@ -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? {