mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-71713 auth_cas: Set Moodle files after phpCAS upgrade
This commit is contained in:
parent
4045a42445
commit
fafa097dd2
24
auth/cas/CAS/readme_moodle.txt
Normal file
24
auth/cas/CAS/readme_moodle.txt
Normal file
@ -0,0 +1,24 @@
|
||||
Description of phpCAS 1.4.0 import into Moodle
|
||||
|
||||
Last release package can be found in hhttps://github.com/apereo/phpCAS/releases
|
||||
|
||||
NOTICE:
|
||||
* Before running composer command, make sure you have the composer version updated.
|
||||
* Composer version 2.2.4 2022-01-08 12:30:42
|
||||
|
||||
STEPS:
|
||||
* Create a temporary folder outside your moodle installation
|
||||
* Execute `composer require apereo/phpcas:VERSION`
|
||||
* Check any new libraries that have been added and make sure they do not exist in Moodle already.
|
||||
* Remove the old 'vendor' directory in auth/cas/CAS/
|
||||
* Copy contents of 'vendor' directory
|
||||
* Create a commit with only the library changes
|
||||
* Update auth/cas/thirdpartylibs.xml
|
||||
* Apply the modifications described in the CHANGES section
|
||||
* Create another commit with the previous two steps of changes
|
||||
|
||||
CHANGES:
|
||||
* Remove all the hidden folders and files in vendor/apereo/phpcas/ (find . -name ".*"):
|
||||
- .codecov.yml
|
||||
- .gitattributes
|
||||
- .github
|
@ -29,7 +29,8 @@
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
require_once($CFG->dirroot.'/auth/ldap/auth.php');
|
||||
require_once($CFG->dirroot.'/auth/cas/CAS/CAS.php');
|
||||
require_once($CFG->dirroot.'/auth/cas/CAS/vendor/autoload.php');
|
||||
require_once($CFG->dirroot.'/auth/cas/CAS/vendor/apereo/phpcas/source/CAS.php');
|
||||
|
||||
/**
|
||||
* CAS authentication plugin.
|
||||
|
@ -4,7 +4,7 @@
|
||||
<location>CAS</location>
|
||||
<name>CAS</name>
|
||||
<license>Apache</license>
|
||||
<version>1.3.8</version>
|
||||
<version>1.4.0</version>
|
||||
<licenseversion>2.0</licenseversion>
|
||||
</library>
|
||||
</libraries>
|
||||
|
Loading…
x
Reference in New Issue
Block a user