AWinterman / gist-put

A Node module for a command line tool to create gists from the commandline
2 stars 1 forks source link

Support two-factory authentication #5

Open drhayes opened 10 years ago

drhayes commented 10 years ago

I have two-factor auth turned on for my account and I get an error when trying to use gist-put:

[~] ➔  gist-put -d "A test thing" thing.txt
secret
Username: drhayes
Password:
{"message":"Must specify two-factor authentication OTP code.","documentation_url":"http://developer.github.com/v3/auth#working-with-two-factor-authentication"}
url:  undefined
AWinterman commented 10 years ago

I'll try to get to this sometime this week. Otherwise, if you have the time and knowhow, please feel free to submit a PR.

zeroasterisk commented 9 years ago

:+1: