-
Bug
-
Resolution: Fixed
-
Critical
-
2.7.16, 2.9.8, 3.0.6, 3.1.2
-
MOODLE_27_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_27_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-55945-master -
Reported here. Looks like I missed https support in my patch for MDL-50803.
Suggested patch:
change:
redirect($CFG->wwwroot . '/login/forgot_password.php'); |
to:
if ($CFG->loginhttps) { |
redirect($CFG->httpswwwroot . '/login/forgot_password.php'); |
} else { |
redirect($CFG->wwwroot . '/login/forgot_password.php'); |
}
|