MDL-53901 login: Redirect to https if loginhttps is enabled
This just prevents a double redirect.
This commit is contained in:
+1
-1
@@ -353,7 +353,7 @@ if (!empty($SESSION->loginerrormsg)) {
|
||||
if ($errormsg) {
|
||||
$SESSION->loginerrormsg = $errormsg;
|
||||
}
|
||||
redirect(new moodle_url('/login/index.php'));
|
||||
redirect(new moodle_url($CFG->httpswwwroot . '/login/index.php'));
|
||||
}
|
||||
|
||||
$PAGE->set_title("$site->fullname: $loginsite");
|
||||
|
||||
Reference in New Issue
Block a user