← Back to team overview

mahara-contributors team mailing list archive

[Bug 547565] Re: Cannot log in or modify user when auth_remote_user has duplicate username entries

 

I'm adding a change to delete all remote user records (not just those
for the old authinstance) when the admin changes a user's authinstance.
I can't find any other way for a user to get duplicate remote user
records, so I'm closing this for now.  Because so much of this stuff to
do with institutions, authinstances & remote hosts is not enforced at
the db level, I'm going to leave the big cleanup for when I've got more
time.

** Changed in: mahara
       Status: Triaged => Fix Committed

-- 
Cannot log in or modify user when auth_remote_user has duplicate username entries
https://bugs.launchpad.net/bugs/547565
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Fix Committed

Bug description:
If there are duplicate entries in auth_remote_user for the same username login (and modifying the user record) fails. The code clearly expects the username to be unique and errors ensue.

This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=2183&group_id=176&atid=739