MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Register validation with email  (Mono Support )

Viewed 5486 time(s), 2 post(s) 3/22/2012 3:59:03 PMby DavidGarcia
DavidGarcia

DavidGarcia

3/22/2012 3:59:03 PM
Hello,

I've been wondering if there is a way to validate the register in order that no duplicated emails can be stored. Basically what i want is to not have to different users with the same email adress.

Best Regards.
This content has not been rated yet. 
659 Reputation 84 Total posts
mzilic

mzilic

3/22/2012 7:21:57 PM
Hello,

I recommend turning on the unique e-mails membership provider option. Your configuration should look something like this:
<add connectionStringName="LocalSqlServer" ... requiresUniqueEmail="true" ... name="AspNetSqlMembershipProvider" type="MonoSoftware.MonoX.MonoXMembershipProvider, MonoX" />

Please note the requiresUniqueEmail property.

Regards
This content has not been rated yet. 
2218 Reputation 300 Total posts