deanpcmad / omniauth-discord

Discord OAuth2 Strategy for OmniAuth
MIT License
42 stars 28 forks source link

Email address is never verified #13

Closed nightkr closed 6 years ago

nightkr commented 6 years ago

email is filled in regardless of whether the address has actually been verified. According to the discord documentation it should be enough to set email to nil (as if it was never entered, or the permission was never requested) unless verified is true.

See featheredtoast/discourse-plugin-discord-auth#2 for a downstream issue this causes.