Skip to content

Commit

Permalink
MDL-55945 login: fix https support for forgot_password.php
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed Sep 15, 2016
1 parent 0344082 commit db8c2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login/forgot_password.php
Expand Up @@ -85,7 +85,7 @@
// 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);
Expand Down

0 comments on commit db8c2cf

Please sign in to comment.