mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
Merge branch 'wip-MDL-31851-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
13ff5c990c
@ -40,7 +40,7 @@ if ($return === 'management') {
|
||||
$PAGE->set_url($url);
|
||||
|
||||
// Check permissions.
|
||||
require_login();
|
||||
require_login(null, false);
|
||||
if (isguestuser()) {
|
||||
print_error('guestsarenotallowed', '', $returnurl);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user