MDL-43146 enrol_imsenterprise: missing sesskey protection
[moodle.git] / enrol / imsenterprise / importnow.php
index f3feda7..e192e11 100644 (file)
@@ -24,6 +24,7 @@
 require_once(dirname(dirname(dirname(__FILE__))) . '/config.php');
 require_login(0, false);
 require_capability('moodle/site:config', context_system::instance());
+require_sesskey();
 
 $site = get_site();