Don’t clear username and password after disconnection

This commit is contained in:
Sergey Abramchuk
2017-03-22 19:15:05 +03:00
parent 6fa887de8d
commit a953a8ab24

View File

@@ -473,9 +473,6 @@ static void socketCallback(CFSocketRef socket, CFSocketCallBackType type, CFData
self.mtu = nil;
self.username = nil;
self.password = nil;
if (self.vpnSocket) {
CFSocketInvalidate(self.vpnSocket);
CFRelease(self.vpnSocket);