Permalink
Browse files

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

  • Loading branch information...
stronk7
stronk7 committed Jul 15, 2005
1 parent c11e289 commit 5d789427fe7757d970f6bbc76486d2e1df2c5952
Showing with 3 additions and 0 deletions.
  1. +3 −0 login/signup.php
View
@@ -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.");
}

0 comments on commit 5d78942

Please sign in to comment.