rvagg/ghauth — pull request #5 by jeppenejsum (2014-05-19 19:40:40+00:00)
Title: Check if 2FA is required and trigger SMS if needed

Currently, SMS seems not to be supported for 2FA.

This PR checks for 2FA and only asks for code if required. This also triggers an SMS if 2FA is configured to use this. Uses same solution as in https://github.com/github/hub/issues/435