diff --git a/login/signup.php b/login/signup.php index 58a238d7bea..dc85ef973c2 100644 --- a/login/signup.php +++ b/login/signup.php @@ -3,6 +3,9 @@ require_once("../config.php"); require_once("../auth/$CFG->auth/lib.php"); + //HTTPS is potentially required in this page + httpsrequired(); + if ($CFG->auth != 'email' and (empty($CFG->auth_user_create) or !(function_exists('auth_user_create'))) ) { error("Sorry, you may not use this page."); }