Bug - 5511 [Followup]: Missed Instance
There was an instance of the pragma missed which meant the the original patch set didn't actually solve the problem in a large number of cases This patch adds in the relevant statement. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
129fb1fbe2
commit
d556f6a9f2
|
|
@ -820,7 +820,7 @@ sub checkauth {
|
|||
$userid = undef;
|
||||
$sessionID = undef;
|
||||
}
|
||||
elsif ( $ip ne $ENV{'REMOTE_ADDR'} ) {
|
||||
elsif ( C4::Context->preference('SessionRestrictionByIP') && $ip ne $ENV{'REMOTE_ADDR'} ) {
|
||||
|
||||
# Different ip than originally logged in from
|
||||
$info{'oldip'} = $ip;
|
||||
|
|
|
|||
Loading…
Reference in New Issue