Disable email verification for SSO

Yes, but then Discourse will assumes they are validated, which might be not true if user went to forum and forgot or decided not to validate an email. If website sets require_validation to true, meaning user has not yet validated their email on website, but definitely received a validation link, so no need for Discourse to send it again, but it will because of this parameter.

Basically problem only arises if user goes to Discourse before validation. So right now I basically have to choose out of two options:

  1. User receives only one validation email, but will be treated by Discourse as validated, which is not ideal, because they might not finish validation.
  2. User receives two validation emails, but will be properly validated by both forum and website. This option is also not ideal, but is definitely better out of two.

There is a third option: add a switch that works only if SSO is enabled, disabling verification email from Discourse (but leaving an error page that tells user that they are not verified)