Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pauloharaujos/30d01bbdae34b3a2720a9ad69dd48f58 to your computer and use it in GitHub Desktop.
Save pauloharaujos/30d01bbdae34b3a2720a9ad69dd48f58 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