Bugzilla – Attachment 34616 Details for
Bug 5511
Check for Change in Remote IP address for Session Security. Disable when remote ip address changes frequently.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug - 5511 [Followup]: Missed Instance
Bug---5511-Followup-Missed-Instance.patch (text/plain), 1.04 KB, created by
Chris Cormack
on 2014-12-21 19:07:19 UTC
(
hide
)
Description:
Bug - 5511 [Followup]: Missed Instance
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2014-12-21 19:07:19 UTC
Size:
1.04 KB
patch
obsolete
>From 4fcb9d7ee167bf27357fb0301f5f55fb92160bc4 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 11 Dec 2014 13:39:24 +0000 >Subject: [PATCH] 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> >--- > C4/Auth.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 6255b34..1840ab1 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -790,7 +790,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; > $info{'newip'} = $ENV{'REMOTE_ADDR'}; >-- >2.1.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5511
:
2860
|
4585
|
4586
|
21864
|
21865
|
22533
|
34216
|
34218
|
34219
|
34252
|
34320
|
34616
|
34709
|
34710
|
34711
|
34712
|
34713
|
34824