gist icon indicating copy to clipboard operation
gist copied to clipboard

Two-factor auth appears to break app

Open sestaton opened this issue 9 years ago • 0 comments

If I set up my ~/.github config file as:

user somename
password somepass
token sometoken

I get the error:

Err: Login with GitHub token is deprecated.

If I comment or remove the token declaration line from the config file, I get:

Err: Must specify two-factor authentication OTP code..

The two-factor authentication is strongly encouraged, so I'm wondering about the rationale behind the 'deprecated' message and also I'd like to know if there is a workaround in this case.

sestaton avatar Feb 06 '16 01:02 sestaton