Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear network.password when "None" encryption mode is selected #46

Closed
bndw opened this issue Jul 15, 2021 · 1 comment · Fixed by #53
Closed

Clear network.password when "None" encryption mode is selected #46

bndw opened this issue Jul 15, 2021 · 1 comment · Fixed by #53
Labels
good first issue Good for newcomers

Comments

@bndw
Copy link
Owner

bndw commented Jul 15, 2021

When selecting "None" encryption, the network.password field remains unchanged. In my testing, the password will actually change the QR code that is generated for None encryption. So assuming that we want to have no password for None encryption, we will need to clear network.password when upon selection of None encryption. Something like this:

setNetwork({ ...network, password: '' })

Originally posted by @noahhefner in #44 (comment)

@faithfulnessalamu
Copy link
Contributor

I would like to make a PR to close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants