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

Merged from MOODLE_15_STABLE
This commit is contained in:
stronk7
2005-07-15 00:17:34 +00:00
parent 8e370bb625
commit dbe9e34673
+3
View File
@@ -4,6 +4,9 @@
$id = optional_param('id', SITEID);
//HTTPS is potentially required in this page
httpsrequired();
if (!$course = get_record('course', 'id', $id)) {
error('No such course!');
}