Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarcy Clarke <darcy@darcyclarke.me>2021-12-02 18:19:46 +0300
committerDarcy Clarke <darcyclarke@github.com>2021-12-02 20:06:22 +0300
commit47828b766a4a7b50c1245c8f01b99ffbeffd014f (patch)
treea122429e29f4e633683e37d1fbbd108f9fc5002f /lib/commands
parent6734ba36dd6e07a859ab4d6eb4f264d2c0022276 (diff)
chore: update one-time password prompt
Diffstat (limited to 'lib/commands')
-rw-r--r--lib/commands/profile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/commands/profile.js b/lib/commands/profile.js
index e1102696e..1250ed7d1 100644
--- a/lib/commands/profile.js
+++ b/lib/commands/profile.js
@@ -321,7 +321,7 @@ class Profile extends BaseCommand {
} else if (userInfo && userInfo.tfa) {
if (!conf.otp) {
conf.otp = await readUserInfo.otp(
- 'Enter one-time password from your authenticator app: '
+ 'Enter one-time password: '
)
}
}
@@ -386,7 +386,7 @@ class Profile extends BaseCommand {
const password = await readUserInfo.password()
if (!conf.otp) {
- const msg = 'Enter one-time password from your authenticator app: '
+ const msg = 'Enter one-time password: '
conf.otp = await readUserInfo.otp(msg)
}