Bump. Now signup page is 100% HTTPS if required.

Merged from MOODLE_15_STABLE
This commit is contained in:
stronk7
2005-07-15 00:26:34 +00:00
parent dbe9e34673
commit bd251e28dd
+3
View File
@@ -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.");
}