From bd251e28dd3201c32cd49e5c112b30c19a0ddb8a Mon Sep 17 00:00:00 2001 From: stronk7 Date: Fri, 15 Jul 2005 00:26:34 +0000 Subject: [PATCH] Bump. Now signup page is 100% HTTPS if required. Merged from MOODLE_15_STABLE --- login/signup.php | 3 +++ 1 file changed, 3 insertions(+) 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."); }