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 7250 time(s), 2 post(s) 22.03.2012 15:59:03by DavidGarcia
DavidGarcia

DavidGarcia

22.03.2012 15:59:03
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.
Dieser Inhalt wurde noch nicht bewertet. 
659 Reputation 84 Total posts
mzilic

mzilic

22.03.2012 19:21:57
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
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts