mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +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);
|
||||
|
||||
// Check permissions.
|
||||
require_login();
|
||||
require_login(null, false);
|
||||
if (isguestuser()) {
|
||||
print_error('guestsarenotallowed', '', $returnurl);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue