Description: TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. . moodle (3.0.3+dfsg-0ubuntu1+lliurex1) xenial; urgency=medium . * Fix postinst to php7.0 * Fix depends (php-zip) * Applied a patch Author: Juan Ramon Pelegrina --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: https://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- moodle-3.0.3+dfsg.orig/admin/index.php +++ moodle-3.0.3+dfsg/admin/index.php @@ -715,9 +715,9 @@ if (during_initial_install()) { if ($adminuser->password === 'adminsetuppending') { // prevent installation hijacking - if ($adminuser->lastip !== getremoteaddr()) { - print_error('installhijacked', 'admin'); - } + // if ($adminuser->lastip !== getremoteaddr()) { + // print_error('installhijacked', 'admin'); + // } // login user and let him set password and admin details $adminuser->newadminuser = 1; complete_user_login($adminuser);