Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Closes Molly-279 #279

  • Loading branch information...
commit d7eac402fda505f2f8c99d279606cb3a8ec7ae5b 1 parent 82d7d33
@timfernando timfernando authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 molly/auth/
5 molly/auth/
@@ -25,9 +25,10 @@ def unify_users(request):
identifier_namespaces = set(i.namespace for i in user.useridentifier_set.all())
root_user = min(users, key=lambda u:u.date_joined)
+ users_without_root = users.copy()
+ users_without_root = users_without_root.remove(root_user)
# Send signals to anyone else who needs to be merged
- unifying_users.send_robust(self, users=users - root_user, into=root_user)
+ unifying_users.send_robust(sender=request, users=users_without_root, into=root_user)
# Need to do the root_user first, otherwise if it's after the current user,
# tokens get assigned from the current user to the root user, and then
Please sign in to comment.
Something went wrong with that request. Please try again.