U4-2465 - "Login Name already exists" when creating a new member that existed before

Created by Jan Brinker 04 Jul 2013, 16:29:16 Updated by Sebastiaan Janssen 16 Jul 2013, 11:35:11

On 6.1.2 you can create a member in the backend, remove it and on trying to create it again you get the error "Login Name already exists".

Tried it in 6.0.7 and there was no bug, it worked as it should.

Also posted this on the our.umbraco boards: http://our.umbraco.org/forum/ourumb-dev-forum/bugs/42836-Login-Name-already-exists-when-creating-a-new-member


Sören Deger 11 Jul 2013, 07:21:28

Similar issue: I created 3 members in members section. If I change the email of one from this members in members section, the new email is not save. I see the message There were errors: E-mail already exists

But I have only 3 Members with different mailadresses as the new one. Post in the our.umbraco boards: http://our.umbraco.org/forum/core/general/43125-Unable-to-change-member-password-in-umbraco-612

Jan Brinker 11 Jul 2013, 08:52:41

Interesting. If the password of the user couldn't be saved, this issue could actually be related to another Issue I created a week ago:


Didn't think they were linked, but maybe they are after all.

Sebastiaan Janssen 11 Jul 2013, 13:34:47

@Jan I can't actually reproduce this, how exactly are you removing the member? My steps:

  1. Create member type
  2. Create member with name Hello, username Hello, email Hello@Hello.Hello and default random password
  3. Expand members tree
  4. Expand the "h"
  5. Right-click Hello and delete
  6. Repeat step 2 and the member gets saved just fine

Similarly, @Sören I can change the password of this Hello member just fine. The email address is not significant, but the LoginName is. So if any of your members share the same LoginName then that could trigger this error.

I'll leave this open for now to see if there's better steps to reproduce.

Tip: in your web.config you can add requiresUniqueEmail="false" to the UmbracoMembershipProvider to get around this error. I'd rather fix any bugs than force people to use workarounds though!

Sören Deger 11 Jul 2013, 14:36:52

Thanks and sorry, I meant: If I change the email, not the password. I can change the password without trouble. But if I change the mail I get the error. Sorry for my mistake.

Sebastiaan Janssen 16 Jul 2013, 11:35:02

Thanks Sören! Sorry about that, the old and new email address were switched around. :(

Fixed in changeset 1d7bfc2781ffe88a60dcf9faf3a19fbb5ba798dc

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 6.1.2

Due in version: 6.1.3


Story Points: