Skip to content

Commit

Permalink
MDL-14461:
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thepurpleblob committed Apr 23, 2008
1 parent 09ee7b0 commit e47878d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions auth/mnet/jump.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

require_once dirname(dirname(dirname(__FILE__))) . '/config.php';

require_login();

if (!is_enabled_auth('mnet')) {
print_error('mnet is disabled');
}
Expand Down

0 comments on commit e47878d

Please sign in to comment.