diff options
author | Darcy Clarke <darcy@darcyclarke.me> | 2021-12-02 18:19:46 +0300 |
---|---|---|
committer | Darcy Clarke <darcyclarke@github.com> | 2021-12-02 20:06:22 +0300 |
commit | 47828b766a4a7b50c1245c8f01b99ffbeffd014f (patch) | |
tree | a122429e29f4e633683e37d1fbbd108f9fc5002f /lib | |
parent | 6734ba36dd6e07a859ab4d6eb4f264d2c0022276 (diff) |
chore: update one-time password prompt
Diffstat (limited to 'lib')
-rw-r--r-- | lib/auth/legacy.js | 2 | ||||
-rw-r--r-- | lib/commands/profile.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/auth/legacy.js b/lib/auth/legacy.js index 7929ccc64..d1401ce14 100644 --- a/lib/auth/legacy.js +++ b/lib/auth/legacy.js @@ -16,7 +16,7 @@ const login = async (npm, opts) => { const requestOTP = async () => { const otp = await read.otp( - 'Enter one-time password from your authenticator app: ' + 'Enter one-time password: ' ) return profile.loginCouch( 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) } |