You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thank you for providing this package, that easily let us communicate with the network adapters on the OS.
Expected Behavior
When using a wrong password using the connect function the function throws an error that tells us the password is incorrect.
Current Behavior
Using the package and under Windows I try to connect to a network using a bad password on "connect" function no error is thrown and the function continues as usual.
Affected features
node API
Possible Solution
Though I cannot identify the issue, as I could not set the profile to netsh the issue could be identified after line 68 on ../src/windows-connect.js:
I think you pointed the good reason. Windows command line doesn't return an error when the connection failed because of wrong password. I suggest you to test the current connections just after using the function connect.
Hi,
First, thank you for providing this package, that easily let us communicate with the network adapters on the OS.
Expected Behavior
When using a wrong password using the connect function the function throws an error that tells us the password is incorrect.
Current Behavior
Using the package and under Windows I try to connect to a network using a bad password on "connect" function no error is thrown and the function continues as usual.
Affected features
Possible Solution
Though I cannot identify the issue, as I could not set the profile to netsh the issue could be identified after line 68 on ../src/windows-connect.js:
I could not see any related err sent to the callback, just the general err, however it might had not been flagged as an error by the command line.
Context
Your Environment
The text was updated successfully, but these errors were encountered: