nguyenquyhy / DiscordBridge

A Sponge plugin to integrate Minecraft server with a Discord channel
MIT License
31 stars 18 forks source link

Login command does not work with 2FA enabled on accounts #31

Closed capybara512 closed 7 years ago

capybara512 commented 7 years ago

When 2 factor authentication is enabled on Discord accounts the login command to show where messages come from in Discord is nonfunctional -- it acts as if the provided username and password are incorrect. I think a good way to solve this issue would be to prompt the player to ender the 2FA code when logins are rejected due to enhanced account security.

Furthermore, the README.md says the following:

Admins and mods can log in to their own Discord account, so that chat messages show under their names in Discord.

I think this makes it especially important to implement a 2FA fix because Discord accounts that hold power (ie. mods and admins) should definitely have 2FA enabled.

Mohron commented 7 years ago

@capybara512 have you tried using /discord opt?

nguyenquyhy commented 7 years ago

And use latest version of the plugin 😄 . If there is still problem, please let me know to reopen this issue.