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) => {
1616
1717 const requestOTP = async ( ) => {
1818 const otp = await read . otp (
19- 'Enter one-time password from your authenticator app : '
19+ 'Enter one-time password: '
2020 )
2121
2222 return profile . loginCouch (
Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ class Profile extends BaseCommand {
321321 } else if ( userInfo && userInfo . tfa ) {
322322 if ( ! conf . otp ) {
323323 conf . otp = await readUserInfo . otp (
324- 'Enter one-time password from your authenticator app : '
324+ 'Enter one-time password: '
325325 )
326326 }
327327 }
@@ -386,7 +386,7 @@ class Profile extends BaseCommand {
386386 const password = await readUserInfo . password ( )
387387
388388 if ( ! conf . otp ) {
389- const msg = 'Enter one-time password from your authenticator app : '
389+ const msg = 'Enter one-time password: '
390390 conf . otp = await readUserInfo . otp ( msg )
391391 }
392392
Original file line number Diff line number Diff line change @@ -689,7 +689,7 @@ t.test('enable-2fa', t => {
689689 async otp ( label ) {
690690 t . equal (
691691 label ,
692- 'Enter one-time password from your authenticator app : ' ,
692+ 'Enter one-time password: ' ,
693693 'should ask for otp confirmation'
694694 )
695695 return '123456'
@@ -1044,7 +1044,7 @@ t.test('disable-2fa', t => {
10441044 async otp ( label ) {
10451045 t . equal (
10461046 label ,
1047- 'Enter one-time password from your authenticator app : ' ,
1047+ 'Enter one-time password: ' ,
10481048 'should ask for otp confirmation'
10491049 )
10501050 return '1234'
You can’t perform that action at this time.
0 commit comments