popomore / github-labels

Add github labels automatically
177 stars 20 forks source link

Allow for two-factor authentication #2

Closed henrahmagix closed 10 years ago

henrahmagix commented 10 years ago

What happens when a user has two-factor authentication turned on:

$: labels -c ~/.config/github-labels/labels-api.json henrahmagix/labels-test
>> No permission, enter your username and password:
>> username henrahmagix
>> password 
>> Authorizing
>> Authorize error
{"message":"Must specify two-factor authentication OTP code.","documentation_url":"https://developer.github.com/v3/auth#working-with-two-factor-authentication"}