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

(-)a/C4/Auth.pm (-2 / +1 lines)
Lines 790-796 sub checkauth { Link Here
790
            $userid    = undef;
790
            $userid    = undef;
791
            $sessionID = undef;
791
            $sessionID = undef;
792
        }
792
        }
793
        elsif ( $ip ne $ENV{'REMOTE_ADDR'} ) {
793
        elsif ( C4::Context->preference('SessionRestrictionByIP') && $ip ne $ENV{'REMOTE_ADDR'} ) {
794
            # Different ip than originally logged in from
794
            # Different ip than originally logged in from
795
            $info{'oldip'}        = $ip;
795
            $info{'oldip'}        = $ip;
796
            $info{'newip'}        = $ENV{'REMOTE_ADDR'};
796
            $info{'newip'}        = $ENV{'REMOTE_ADDR'};
797
- 

Return to bug 5511