MDL-56625 authentication: Email registration works again.

Creation via email accounts was broken due to a missing
require for the auth library.
This commit is contained in:
Adrian Greeve 2016-10-28 10:27:27 +08:00
parent 577bd70d38
commit 1d4490d366

View File

@ -25,6 +25,7 @@
*/
require('../config.php');
require_once($CFG->libdir . '/authlib.php');
$data = optional_param('data', '', PARAM_RAW); // Formatted as: secret/username