brockallen / BrockAllen.MembershipReboot

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

EmailExists throws InvalidOperationException when EmailIsUnique is false #644

Open danielwagn3r opened 8 years ago

danielwagn3r commented 8 years ago

The methods EmailExists and GetByEmail of the UserAccountService throws a InvalidOperationException when EmailIsUnique is set to false in the MembershipReboot configuration.

For GetByEmail it might be resonable, as the method doesn't return a IEnumerable, but I don't get the reason for the behaviour of EMailExists.

For GetByEmail a API which returns IEnumerable to the multiple accounts would be great.