mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-31851 course request: do not autologin
This commit is contained in:
parent
d87bcfb325
commit
c6fb5a7e1e
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ if ($return === 'management') {
|
||||||
$PAGE->set_url($url);
|
$PAGE->set_url($url);
|
||||||
|
|
||||||
// Check permissions.
|
// Check permissions.
|
||||||
require_login();
|
require_login(null, false);
|
||||||
if (isguestuser()) {
|
if (isguestuser()) {
|
||||||
print_error('guestsarenotallowed', '', $returnurl);
|
print_error('guestsarenotallowed', '', $returnurl);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue