Skip to content

Commit

Permalink
MDL-8096 user edit form - reintroduced httpsrequirequired()
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jan 26, 2007
1 parent 7039d93 commit 3cb03e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
}

require_login($course->id);
httpsrequired();

if (isguest()) { //TODO: add proper capability to edit own profile and change password too
print_error('guestnoeditprofile');
Expand Down

0 comments on commit 3cb03e4

Please sign in to comment.