mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #03064
[Bug 684425] Re: remote username doesn't lowercase usernames
** Changed in: mahara
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/684425
Title:
remote username doesn't lowercase usernames
Status in Mahara ePortfolio:
Fix Released
Bug description:
One of our many moodles somehow managed to convert their usernames from camelcase to lowercase. They did this after a number of users had SSOd to moodle.
As a result, auth_remote_user has the camelcase variants, and auth/user.php::User->find_by_instanceid_username() doesn't find a match because of the case issues.
As a result, it tries to create a new user, but this fails becuase usr has a unique constraint on lower(username).
I've produced a fix, and will apply in the morning.
References