]> git.mjollnir.org Git - moodle.git/commitdiff
LIkely fix for MDL-8067
authormoodler <moodler>
Tue, 9 Jan 2007 04:59:56 +0000 (04:59 +0000)
committermoodler <moodler>
Tue, 9 Jan 2007 04:59:56 +0000 (04:59 +0000)
user/edit.php

index 9099265a9ec4daa8557ed5e373c7bd1d082cc86e..8dbfca0a7bd1ac04df199303bedb1429133da4c3 100644 (file)
@@ -12,6 +12,8 @@
         $id = $USER->id;
     }
 
+    httpsrequired(); // HTTPS is potentially required in this page
+
     if (! $user = get_record("user", "id", $id)) {
         error("User ID was incorrect");
     }