https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19898

Jonathan Druart <jonathan.dru...@bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.dru...@bugs.koha-c
                   |                            |ommunity.org

--- Comment #2 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
The relevant code of the warning is:

1084                     my $branches = { map { $_->branchcode => $_->unblessed
} Koha::Libraries->search };
1085                     if ( $type ne 'opac' and
C4::Context->boolean_preference('AutoLocation') ) {
1086 
1087                         # we have to check they are coming from the right
ip range
1088                         my $domain =
$branches->{$branchcode}->{'branchip'};
1089                         $domain =~ s|\.\*||g;
1090                         if ( $ip !~ /^$domain/ ) {
1091                             $loggedin = 0;
1092                             $cookie = $query->cookie(
1093                                 -name     => 'CGISESSID',
1094                                 -value    => '',
1095                                 -HttpOnly => 1
1096                             );
1097                             $info{'wrongip'} = 1;
1098                         }
1099                     }


It says that you have AutoLocation turned on and the "branchip" field of the
branches table does not match your IP. It also says that you are using a non
superlibrarian account.

Could you confirm this?
If the IP does not match, it is expected that you are rejected, but in that
case it should be the same behaviour with other scripts.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to