brockallen / BrockAllen.MembershipReboot

MembershipReboot is a user identity management and authentication library.
Other
742 stars 238 forks source link

Prevent Email validation sending when creating an account from external providers #580

Closed Moonsk313 closed 8 years ago

Moonsk313 commented 8 years ago

Hi,

We have the following scenario, -On login screen, the user can connect himself with facebook. -authentication facebook -back from facebook, we create an user in membershipreboot -set the email as verified.

But we receive 2 emails, one for validate and the other saying your account is validated.

All looks good except the first email...

Is there a way to prevent sending email for validation?

Thanks

brockallen commented 8 years ago

If they're using the external provider workflow then use a different MR config that does not have an email confirmed handler registered.

Moonsk313 commented 8 years ago

Thanks, it works like a charm! great work ;)