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

Possible password confirmation unhappy path endless loop. #149

Closed
CM-IV opened this issue Jun 13, 2023 · 1 comment · Fixed by #156
Closed

Possible password confirmation unhappy path endless loop. #149

CM-IV opened this issue Jun 13, 2023 · 1 comment · Fixed by #156
Assignees

Comments

@CM-IV
Copy link

CM-IV commented Jun 13, 2023

Describe the bug
Upon entering a password and then re-entering a password that does not match during confirmation leads me to an endless loop of # The answers don't match. The prompt seems to ask correctly for the password again, but once it is entered this time with matching information, the same result is reached.

image

To Reproduce
Start with a bone dry cargo init project with inquire and anyhow installed for errors.

image
image

Expected behavior
Once an incorrect password is entered in confirmation, the user is alerted that # The answers don't match. However, the user should(?) be able to re-enter both the password and confirm-password to get back to the happy path and print End to the terminal.

Desktop (please complete the following information):

  • OS: Debian 12 Bookworm
  • Browser: Firefox 102.12.0esr (64-bit)
  • rustup: 1.26.0
  • rustc: 1.70.0
@mikaelmello mikaelmello self-assigned this Jun 14, 2023
@mikaelmello mikaelmello linked a pull request Jun 14, 2023 that will close this issue
@mikaelmello
Copy link
Owner

Working on it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants