diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2022-01-19 16:01:42 -0500 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2022-01-26 12:57:48 -0500 |
commit | 33899b435d865e533a4be3d301734a2b70f2a332 (patch) | |
tree | 935efd3437ac78b039199976b88e0c077df6f181 /deps/npm/lib | |
parent | d9237c46cabac4040c68b69a2b851971a82206fb (diff) | |
download | node-new-33899b435d865e533a4be3d301734a2b70f2a332.tar.gz |
deps: upgrade npm to 6.14.16
PR-URL: https://github.com/nodejs/node/pull/41601
Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'deps/npm/lib')
-rw-r--r-- | deps/npm/lib/auth/legacy.js | 2 | ||||
-rw-r--r-- | deps/npm/lib/profile.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/deps/npm/lib/auth/legacy.js b/deps/npm/lib/auth/legacy.js index 7ad678be5e..f140ef5f12 100644 --- a/deps/npm/lib/auth/legacy.js +++ b/deps/npm/lib/auth/legacy.js @@ -52,7 +52,7 @@ function login (opts) { .catch((err) => { if (err.code !== 'EOTP') throw err return read.otp( - 'Enter one-time password from your authenticator app: ' + 'Enter one-time password: ' ).then(otp => { const u = opts.creds.username const p = opts.creds.password diff --git a/deps/npm/lib/profile.js b/deps/npm/lib/profile.js index 7ce9cb5cce..923e7ed1a5 100644 --- a/deps/npm/lib/profile.js +++ b/deps/npm/lib/profile.js @@ -249,7 +249,7 @@ function enable2fa (args) { return pulseTillDone.withPromise(profile.set({tfa: {password, mode: 'disable'}}, conf)) } else { if (conf.auth.otp) return - return readUserInfo.otp('Enter one-time password from your authenticator app: ').then((otp) => { + return readUserInfo.otp('Enter one-time password: ').then((otp) => { conf.auth.otp = otp }) } @@ -310,7 +310,7 @@ function disable2fa (args) { return readUserInfo.password().then((password) => { return BB.try(() => { if (conf.otp) return - return readUserInfo.otp('Enter one-time password from your authenticator: ').then((otp) => { + return readUserInfo.otp('Enter one-time password: ').then((otp) => { conf = conf.concat({otp}) }) }).then(() => { |