Commit 0afe4f1 1 parent 5848324 commit 0afe4f1 Copy full SHA for 0afe4f1
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ function login (opts) {
52
52
. catch ( ( err ) => {
53
53
if ( err . code !== 'EOTP' ) throw err
54
54
return read . otp (
55
- 'Enter one-time password from your authenticator app : '
55
+ 'Enter one-time password: '
56
56
) . then ( otp => {
57
57
const u = opts . creds . username
58
58
const p = opts . creds . password
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ function enable2fa (args) {
249
249
return pulseTillDone . withPromise ( profile . set ( { tfa : { password, mode : 'disable' } } , conf ) )
250
250
} else {
251
251
if ( conf . auth . otp ) return
252
- return readUserInfo . otp ( 'Enter one-time password from your authenticator app : ' ) . then ( ( otp ) => {
252
+ return readUserInfo . otp ( 'Enter one-time password: ' ) . then ( ( otp ) => {
253
253
conf . auth . otp = otp
254
254
} )
255
255
}
@@ -310,7 +310,7 @@ function disable2fa (args) {
310
310
return readUserInfo . password ( ) . then ( ( password ) => {
311
311
return BB . try ( ( ) => {
312
312
if ( conf . otp ) return
313
- return readUserInfo . otp ( 'Enter one-time password from your authenticator : ' ) . then ( ( otp ) => {
313
+ return readUserInfo . otp ( 'Enter one-time password: ' ) . then ( ( otp ) => {
314
314
conf = conf . concat ( { otp} )
315
315
} )
316
316
} ) . then ( ( ) => {
You can’t perform that action at this time.
0 commit comments