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.
This commit is contained in:
Roopesh Chander 2018-12-22 16:13:31 +05:30
parent 09a96ec2a8
commit 2e37d511db
1 changed files with 0 additions and 3 deletions

View File

@ -32,9 +32,6 @@ extension NETunnelProviderProtocol {
} else {
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? {