version of auth() that prompts for password so it is never displayed

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Shell
    • Fully Compatible
    • Security 2019-11-04, Security 2019-11-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Proposed syntax:

      > db.auth('username')
      Enter password:

      Uses askPassword()

      Suggested by Dan C

            Assignee:
            Shreyas Kalyan
            Reporter:
            Mathias Stearn
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: