]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14461:
authorthepurpleblob <thepurpleblob>
Wed, 23 Apr 2008 08:47:27 +0000 (08:47 +0000)
committerthepurpleblob <thepurpleblob>
Wed, 23 Apr 2008 08:47:27 +0000 (08:47 +0000)
The user must be (effectively) be logged in to use this function.
Adding the logged in check means they will be asked if they are not (like
everywhere else).

Merged from STABLE19

auth/mnet/jump.php

index 0058e5caafd9ad11e23d41a65b6e3af55343cc80..2d03a6ba488802e0c0832a8b9efd4b8a40d416ec 100644 (file)
@@ -14,6 +14,8 @@
 
 require_once dirname(dirname(dirname(__FILE__))) . '/config.php';
 
+require_login();
+
 if (!is_enabled_auth('mnet')) {
     print_error('mnet is disabled');
 }