-
Notifications
You must be signed in to change notification settings - Fork 97
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
It's possible to unlock the wallet with an empty password #241
Comments
@jcalfee This is because the password is never reset inside the unlockmodal, so if you unlock, lock then try to unlock again, the last password that you entered (which was the right one) is still stored in the the UnlockModal password_ui variable. If you don't try to enter a new password it won't get overwritten, so the unlock is successful. A simple fix is to just reset it on close events and successful login. I noticed you aren't using this.state to save the password, for security reasons I guess? |
…tate). This fixes a bug that allowed a wallet to be reopened after being locked. #241
The first issue should be fixed by removing the password from the state. Now only the modal password input field has the data. That exposes something else: The model package |
…rlayClose pending a bug fix in react-foundation-apps #241
Also, I think it would be nice if the workflow was like this: Otherwise it's a bit confusing - the error message is still visible but no longer applicable. |
Not sure why, my commit closed the case.. Guess github thought "close #241" meant close the case. |
@valzav can you look into a way for PasswordInput.jsx to clear the If you did want to clear the text as was also suggested I have seen the select all feature used after an invalid Enter event. This gives the user the opportunity to typeover everything or to keep it. I don't think this feature should consume any time though, only if it is very easy... |
After the latest upgrade, when trying to unlock the wallet this error shows up in the console as soon as I start typing the password: --ReferenceError: event is not defined It happens only in Firefox (Win 7). Maybe it's not critical as it does not crash the app. |
The main issue is fixed. I have a mental note to improve dialog (with the other suggestion) the RED error behaviour so I'm closing the ticket now. If we end up missing this after a while please reopen under another ticket. |
When I lock the wallet (using the lock button in the top right corner) and then try to unlock it (using the same button in the top right corner) the application allows me to leave the password field empty and still unlock the wallet.
The text was updated successfully, but these errors were encountered: