mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-21655 fixed regression which prevented guests to enter access key
This commit is contained in:
parent
1369948cc9
commit
3e29781d11
@ -38,7 +38,7 @@ if ($loginasguest !== 0) {
|
||||
}
|
||||
$PAGE->set_url($url);
|
||||
|
||||
if (!isloggedin() or isguestuser()) {
|
||||
if (!isloggedin()) {
|
||||
// do not use require_login here because we are usually comming from it
|
||||
redirect(get_login_url());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user