File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const login = async (npm, opts) => {
16
16
17
17
const requestOTP = async ( ) => {
18
18
const otp = await read . otp (
19
- 'Enter one-time password from your authenticator app : '
19
+ 'Enter one-time password: '
20
20
)
21
21
22
22
return profile . loginCouch (
Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ class Profile extends BaseCommand {
321
321
} else if ( userInfo && userInfo . tfa ) {
322
322
if ( ! conf . otp ) {
323
323
conf . otp = await readUserInfo . otp (
324
- 'Enter one-time password from your authenticator app : '
324
+ 'Enter one-time password: '
325
325
)
326
326
}
327
327
}
@@ -386,7 +386,7 @@ class Profile extends BaseCommand {
386
386
const password = await readUserInfo . password ( )
387
387
388
388
if ( ! conf . otp ) {
389
- const msg = 'Enter one-time password from your authenticator app : '
389
+ const msg = 'Enter one-time password: '
390
390
conf . otp = await readUserInfo . otp ( msg )
391
391
}
392
392
Original file line number Diff line number Diff line change @@ -689,7 +689,7 @@ t.test('enable-2fa', t => {
689
689
async otp ( label ) {
690
690
t . equal (
691
691
label ,
692
- 'Enter one-time password from your authenticator app : ' ,
692
+ 'Enter one-time password: ' ,
693
693
'should ask for otp confirmation'
694
694
)
695
695
return '123456'
@@ -1044,7 +1044,7 @@ t.test('disable-2fa', t => {
1044
1044
async otp ( label ) {
1045
1045
t . equal (
1046
1046
label ,
1047
- 'Enter one-time password from your authenticator app : ' ,
1047
+ 'Enter one-time password: ' ,
1048
1048
'should ask for otp confirmation'
1049
1049
)
1050
1050
return '1234'
You can’t perform that action at this time.
0 commit comments