source: moodle/trunk/fuentes/debian/patches/lliurex @ 1347

Last change on this file since 1347 was 1347, checked in by jrpelegrina, 4 years ago

Add a patche

File size: 707 bytes
RevLine 
[1347]1Index: fuentes/admin/index.php
2===================================================================
3--- fuentes.orig/admin/index.php
4+++ fuentes/admin/index.php
5@@ -715,9 +715,9 @@ if (during_initial_install()) {
6 
7     if ($adminuser->password === 'adminsetuppending') {
8         // prevent installation hijacking
9-        if ($adminuser->lastip !== getremoteaddr()) {
10-            print_error('installhijacked', 'admin');
11-        }
12+   //     if ($adminuser->lastip !== getremoteaddr()) {
13+    //        print_error('installhijacked', 'admin');
14+     //   }
15         // login user and let him set password and admin details
16         $adminuser->newadminuser = 1;
17         complete_user_login($adminuser);
Note: See TracBrowser for help on using the repository browser.