Closed ctrueden closed 10 years ago
@dscho: If your superior script-fu can fix the ugliness, great, but I couldn't get anything simpler than this working in a reasonable amount of time.
@ctrueden could you give this version a quick try?
It works! Thank you for fixing it up.
It works by passing the auth code via the
GITHUB_TWO_FACTOR
environment variable.Unfortunately, the patch is really ugly. I tried assigning the header flags to CURL_OPTS and just passing that, but the quoting is really hard to get right. This patch is testing and working for 2-factor, at least.