SSO issue with MooWoodle Plugin

Re: SSO issue with MooWoodle Plugin

by Benoit Ter Burg -
Number of replies: 0

Hi 

Got it.  Just try !  It works fine for me.

You have to modify this  when creating user in Moodle form Woocommerce/WordPress

This process is supportded through php script and page 'class-moowoodle-enrollment' from moowoodle plugin


1 : Expand  'moowoodle.3.0.zip' and got the file 'class-moowoodle-enrollment' in directory  classes'

Go to lines 152/153,

152 $user_data['preferences'][0]['type'] = "auth_forcepasswordchange";

153 $user_data['preferences'][0]['value'] = 0;


2 : Modify value; 

Values= 

0= Do NOT force to change password 

1= force to change password  (default)


3 :  then upload modified file on your hosted Moodle in the right plugin directory.


That's all

++

Ben