Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Claushingebjerg 939 posts 2574 karma points
    Oct 24, 2012 @ 16:29
    Claushingebjerg
    0

    disable unique member email

    I have a situation, where multiple members can have the same email adress...

    Is it possible to disbale the requiremnt for unique email adresses in the member section? If so how?

  • Greg Fyans 140 posts 342 karma points
    Oct 25, 2012 @ 10:08
    Greg Fyans
    0

    Hi,

    Now that Umbraco uses ASP.NET membership you should be able to set the "requiresUniqueEmail" attribute on the UmbracoMembershipProvider section of the web.config:

    <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="patientModel" passwordFormat="Hashed" requiresUniqueEmail="false" />

    I haven't actually tried this and the default value for that setting is False, so Umbraco may be overriding this somewhere, in which case we'll have to explore other methods.

    I was actually thinking of doing this for the project I'm working on now, but instead I decided to use Member Groups to separate my users as their types were so similar. Is this an option for you?

    Greg.

  • Claushingebjerg 939 posts 2574 karma points
    Oct 30, 2012 @ 11:22
    Claushingebjerg
    0

    This doesnt work. Any other options? Its really important for me to do this some how, as i cant really work around the requirement. 

    Any help appreciated.

  • Warren 30 posts 95 karma points
    Oct 31, 2012 @ 21:01
    Warren
    0

    I am looking for a solution to this as well.

    Seems to be previous posts regarding this but no solutions as yet.

    Can anyone confirm that this is a "feature" of Umbraco. (ie Umbraco enforces unique email addresses)

    Here is my config settings:

          <providers>

            <clear />

            <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type" passwordFormat="Hashed" requiresUniqueEmail="false" />

            <add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />

          </providers>

    And I am running: umbraco v 4.9.0 (Assembly version: 1.0.4633.18696)

    I will keep googling

    Warren

  • Warren 30 posts 95 karma points
    Oct 31, 2012 @ 21:57
    Warren
    0

    There seems to be two issues rasied for this

    http://umbraco.codeplex.com/workitem/30558

    http://umbraco.codeplex.com/workitem/27358

    Perhaps add your vote to issue number 27358

    Warren

  • Warren 30 posts 95 karma points
    Nov 01, 2012 @ 00:25
    Warren
    0

    The strange thing is that once you have created a user with a unique email address, you are still allowed to edit the user and change the email address to a NON unique email address.

    Perhaps this is a workaround. Generate a dummy but unique email address when the user is created then immediately upadate the members email.

  • Claushingebjerg 939 posts 2574 karma points
    Nov 01, 2012 @ 08:22
    Claushingebjerg
    0

    Wow, you're right. That might work as a workaround. Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft