MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
This commit is contained in:
+2
-2
@@ -141,8 +141,8 @@ class auth_plugin_mnet extends auth_plugin_base {
|
||||
// check remote login permissions
|
||||
if (! has_capability('moodle/site:mnetlogintoremote', get_context_instance(CONTEXT_SYSTEM))
|
||||
or is_mnet_remote_user($USER)
|
||||
or $USER->username == 'guest'
|
||||
or empty($USER->id)) {
|
||||
or isguestuser()
|
||||
or !isloggedin()) {
|
||||
print_error('notpermittedtojump', 'mnet');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user