Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save naothomachida/fcb81879d64ae3395e0d49e0cea1b37c to your computer and use it in GitHub Desktop.
Save naothomachida/fcb81879d64ae3395e0d49e0cea1b37c to your computer and use it in GitHub Desktop.

Github Two-Factor Authentication (2FA) for Brazil via SMS

The Github doesn't provide country code for Brazil. To add this option, just run the code below in your console:

var brazil = document.createElement('option');
brazil.value = '+55';
brazil.appendChild(document.createTextNode('Brazil +55'));
document.querySelectorAll('#countrycode').forEach((select) => select.appendChild(brazil));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment