From 607beb59b059e92b420340ecdedda7ddafb3fcb4 Mon Sep 17 00:00:00 2001 From: Jake Dallimore Date: Tue, 13 Sep 2016 12:21:11 +0800 Subject: [PATCH] MDL-55945 login: fix https support for forgot_password.php --- login/forgot_password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login/forgot_password.php b/login/forgot_password.php index fa7e7d68fad..70f10af50ad 100644 --- a/login/forgot_password.php +++ b/login/forgot_password.php @@ -85,7 +85,7 @@ if (empty($token)) { // The session var is intentionally used only during the lifespan of one request (the redirect) and is unset above. if (!$tokeninsession && $_SERVER['REQUEST_METHOD'] === 'GET') { $SESSION->password_reset_token = $token; - redirect($CFG->wwwroot . '/login/forgot_password.php'); + redirect($CFG->httpswwwroot . '/login/forgot_password.php'); } else { // Continue with the password reset process. core_login_process_password_set($token);