Forums | Mahara Community

Mahara/Moodle integration /
Password change issue


anonymous profile picture
Account deleted
Posts: 21

06 May 2010, 6:47

Hi,

I've managed to get moodle and Mahara talking so you login automatically from Moodle using XMLRPC but is keeps asking the user to change their password in Mahara.  I can find a setting to fix this for individuals but that's no good as it isn't practical to go through each student's record one at a time. Any ideas?

anonymous profile picture
Account deleted
Posts: 808

06 May 2010, 16:33

There's no way to update that setting for everyone in the UI but you could do it in one hit in the database with "UPDATE usr SET passwordchange = 0;".

anonymous profile picture
Account deleted
Posts: 21

11 May 2010, 4:13

Thanks, I managed to fix this by:

changing:

function auth_check_required_fields() {

    global $USER, $SESSION;

     $changepassword = true;

    $elements = array();

 to:

function auth_check_required_fields() {

    global $USER, $SESSION;

     $changepassword = false;

    $elements = array();

3 results