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

This commit is contained in:
stronk7
2005-07-15 00:25:27 +00:00
parent c11e28959d
commit 5d789427fe
+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.");
}