SSO issue with MooWoodle Plugin

Re: SSO issue with MooWoodle Plugin

by arsalan titi -
Number of replies: 3
I've sent DualCube support some emails but no response!
The plugin is working perfect. And it integrates wp and moodle very well.I wish DualCube support or anyone else can resolve the mentioned issue.
In reply to arsalan titi

Re: SSO issue with MooWoodle Plugin

by Benoit Ter Burg -

Hi, 

Do yo receive any answer yet ? 

I get same issue (confusing for users and not very good UX experience…) 

Thanks for helping if you can 

Regards. 

Benoit @ DiDaXo


In reply to Benoit Ter Burg

Re: SSO issue with MooWoodle Plugin

by arsalan titi -
Hi,
Unfortunately I haven't receive any answer yet!
In reply to arsalan titi

Re: SSO issue with MooWoodle Plugin

by Benoit Ter Burg -

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