otatarintseva / moodle-auth_samlidp

0 stars 4 forks source link

Fix deprecation issues. Test with Moodle 3.9 and 3.10 #4

Open iv-enovation opened 3 years ago

iv-enovation commented 3 years ago

Deprecation issues related to both php7.4 warnings and SimpleSAMLphp usage of namespaces are fixed. Compatibility with older php should not be broken In auth.php in user_authenticated_hook() cookie creation is moved inside if() so now the SAML cookie is created only upon a SAML auth request The plugin tested on both Moodle 3.9 and Moodle 3.10 versions, using the newest SimpleSAMLphp 1.19.0