We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59e5056 commit b1a8729Copy full SHA for b1a8729
lib/utils/read-user-info.js
@@ -21,9 +21,9 @@ function read (opts) {
21
function readOTP (msg, otp, isRetry) {
22
if (!msg) {
23
msg = [
24
- 'There was an error while trying authentication due to OTP (One-Time-Password).',
25
- 'The One-Time-Password is generated via applications like Authy or',
26
- 'Google Authenticator, for more information see:',
+ 'This command requires a one-time password (OTP) from your authenticator app.',
+ 'Enter one below. You can also pass one on the command line by appending --otp=123456.',
+ 'For more information, see:',
27
'https://docs.npmjs.com/getting-started/using-two-factor-authentication',
28
'Enter OTP: '
29
].join('\n')
0 commit comments