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

(-)a/C4/Auth.pm (-1 / +1 lines)
Lines 1220-1225 sub checkauth { Link Here
1220
                        # we have to check they are coming from the right ip range
1220
                        # we have to check they are coming from the right ip range
1221
                        my $domain = $branches->{$branchcode}->{'branchip'};
1221
                        my $domain = $branches->{$branchcode}->{'branchip'};
1222
                        $domain =~ s|\.\*||g;
1222
                        $domain =~ s|\.\*||g;
1223
                        $domain =~ s/\s+//g;
1223
                        if ( $ip !~ /^$domain/ ) {
1224
                        if ( $ip !~ /^$domain/ ) {
1224
                            $cookie = $cookie_mgr->replace_in_list( $cookie, $query->cookie(
1225
                            $cookie = $cookie_mgr->replace_in_list( $cookie, $query->cookie(
1225
                                -name     => 'CGISESSID',
1226
                                -name     => 'CGISESSID',
1226
- 

Return to bug 36378