Changeset 1348


Ignore:
Timestamp:
May 2, 2016, 1:44:29 PM (3 years ago)
Author:
jrpelegrina
Message:

revert patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/admin/index.php

    r1347 r1348  
    716716    if ($adminuser->password === 'adminsetuppending') {
    717717        // prevent installation hijacking
    718    //     if ($adminuser->lastip !== getremoteaddr()) {
    719     //        print_error('installhijacked', 'admin');
    720      //   }
     718        if ($adminuser->lastip !== getremoteaddr()) {
     719            print_error('installhijacked', 'admin');
     720        }
    721721        // login user and let him set password and admin details
    722722        $adminuser->newadminuser = 1;
Note: See TracChangeset for help on using the changeset viewer.