Line | |
---|
1 | Index: 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.