mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Don’t clear username and password after disconnection
This commit is contained in:
@@ -473,9 +473,6 @@ static void socketCallback(CFSocketRef socket, CFSocketCallBackType type, CFData
|
|||||||
|
|
||||||
self.mtu = nil;
|
self.mtu = nil;
|
||||||
|
|
||||||
self.username = nil;
|
|
||||||
self.password = nil;
|
|
||||||
|
|
||||||
if (self.vpnSocket) {
|
if (self.vpnSocket) {
|
||||||
CFSocketInvalidate(self.vpnSocket);
|
CFSocketInvalidate(self.vpnSocket);
|
||||||
CFRelease(self.vpnSocket);
|
CFRelease(self.vpnSocket);
|
||||||
|
|||||||
Reference in New Issue
Block a user