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 )

7346 put(a) pogledan, 2 odgovor(a) 22.3.2012. 15:59:03Kreirao(la) DavidGarcia
DavidGarcia

DavidGarcia

22.3.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.
Ovaj sadržaj još nije ocijenjen. 
659 Reputacija 84 Ukupno objava
mzilic

mzilic

22.3.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
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava