Skip to content

Commit 077347b

Browse files
committed
Add error message for two-factor authentication currently not supported
1 parent 9fb012e commit 077347b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ const requestBody = exports.requestBody = function (requestedOptions, callback)
162162
case 'Bad credentials':
163163
logExceptOnTest(chalk.red('\nYour username or password is invalid, please check it'))
164164
break
165+
case 'Must specify two-factor authentication OTP code.':
166+
logExceptOnTest(chalk.red('\nYour acoount requires two-factor authentication.\nUnfortunatelly, this is currently not supported.'))
167+
break
165168
default:
166169
logExceptOnTest(chalk.red('\nRepository have 0 issues. Nothing to download'))
167170
}

0 commit comments

Comments
 (0)