Comment 2 for bug 906996

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/1026
Committed: http://gitorious.org/mahara/mahara/commit/549bd8eb56808f71dcd3d3baa3195ad270d4cb28
Submitter: Francois Marier (<email address hidden>)
Branch: master

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>