Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-564

Backspace for password prompt adds an asterix and doesn't delete

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.8.0
    • Affects Version/s: 0.7.7
    • Component/s: CLI Module
    • None
    • 2
    • Not Needed
    • Iteration Vegetable

      Can't correct mistakes when prompted for password

      Example:

      mongosh "mongodb+srv://mycluster/test" --username main_user

       

      When running mongosh with a username it correctly prompts for a password in the terminal. Each password character entered results in an asterix correctly being shown. However, if you make a mistake and hit backspace, it doesn't delete the last character and instead shows another asterix added 

       

      Also to add I am using mongosh 0.7.7. on Ubuntu 20.04 just in case this is OS specific.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            paul.done@mongodb.com Paul Done
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: