View | Details | Raw Unified | Return to bug 5511
Collapse All | Expand All

(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 473-477 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
473
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
473
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
474
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
474
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
475
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
475
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
476
('SessionRestrictionByIP','0','Check for Change in Remote IP address for Session Security . Disable when remote ip address changes frequently.','','YesNo');
476
('SessionRestrictionByIP','1','Check for Change in Remote IP address for Session Security . Disable when remote ip address changes frequently.','','YesNo');
477
;
477
;
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 9580-9586 if ( CheckVersion($DBversion) ) { Link Here
9580
9580
9581
$DBversion = "3.18.00.001";
9581
$DBversion = "3.18.00.001";
9582
if ( CheckVersion($DBversion) ) {
9582
if ( CheckVersion($DBversion) ) {
9583
    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SessionRestrictionByIP','0','Check for Change in  Remote IP address for Session Security. Disable when remote ip address changes frequently.','','YesNo')");
9583
    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SessionRestrictionByIP','1','Check for Change in  Remote IP address for Session Security. Disable when remote ip address changes frequently.','','YesNo')");
9584
    print "Upgrade to $DBversion done (Bug 5511 - SessionRestrictionByIP)";
9584
    print "Upgrade to $DBversion done (Bug 5511 - SessionRestrictionByIP)";
9585
    SetVersion ($DBversion);
9585
    SetVersion ($DBversion);
9586
}
9586
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (-2 / +1 lines)
Lines 65-71 Administration: Link Here
65
            - staff to log in from a computer in the IP address range <a href="/cgi-bin/koha/admin/branches.pl">specified by their library</a> (if any).
65
            - staff to log in from a computer in the IP address range <a href="/cgi-bin/koha/admin/branches.pl">specified by their library</a> (if any).
66
        -
66
        -
67
            - pref: SessionRestrictionByIP
67
            - pref: SessionRestrictionByIP
68
              default: 0
68
              default: 1
69
              choices:
69
              choices:
70
                  yes: Enable
70
                  yes: Enable
71
                  no: "Disable"
71
                  no: "Disable"
72
- 

Return to bug 5511