commit 549bd8eb56808f71dcd3d3baa3195ad270d4cb28
Author: Richard Mansfield <email address hidden>
Date: Wed Feb 1 14:32:00 2012 +1300
Set new profile fields when creating users from LDAP (bug #906996)
When users are automatically created from an LDAP server, the student
id & display name fields are set in the user table, but not updated as
profile fields in the artefact table, so they're not displayed in the
Edit profile page.
Passing the student id & display name from the auth plugin's
get_user_info function into create_user will ensure they're set as
profile fields as well.
Change-Id: I3ae769394d2f65577f26759309affdfd59070302
Signed-off-by: Richard Mansfield <email address hidden>
Reviewed: https:/ /reviews. mahara. org/1026 gitorious. org/mahara/ mahara/ commit/ 549bd8eb56808f7 1dcd3d3baa3195a d270d4cb28
Committed: http://
Submitter: Francois Marier (<email address hidden>)
Branch: master
commit 549bd8eb56808f7 1dcd3d3baa3195a d270d4cb28
Author: Richard Mansfield <email address hidden>
Date: Wed Feb 1 14:32:00 2012 +1300
Set new profile fields when creating users from LDAP (bug #906996)
When users are automatically created from an LDAP server, the student
id & display name fields are set in the user table, but not updated as
profile fields in the artefact table, so they're not displayed in the
Edit profile page.
Passing the student id & display name from the auth plugin's
get_user_info function into create_user will ensure they're set as
profile fields as well.
Change-Id: I3ae769394d2f65 577f26759309aff dfd59070302
Signed-off-by: Richard Mansfield <email address hidden>