Bug 28785: Don't send SessionRestrictionByIP to template
It's not used. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
1a216186ff
commit
b271e9f9db
2 changed files with 1 additions and 2 deletions
|
@ -1288,7 +1288,6 @@ sub checkauth {
|
|||
casAuthentication => C4::Context->preference("casAuthentication"),
|
||||
shibbolethAuthentication => $shib,
|
||||
suggestion => C4::Context->preference("suggestion"),
|
||||
SessionRestrictionByIP => C4::Context->preference("SessionRestrictionByIP"),
|
||||
virtualshelves => C4::Context->preference("virtualshelves"),
|
||||
LibraryName => "" . C4::Context->preference("LibraryName"),
|
||||
LibraryNameTitle => "" . $LibraryNameTitle,
|
||||
|
|
|
@ -69,7 +69,7 @@ sub ajax_auth_cgi { # returns CGI object
|
|||
my %cookies = CGI::Cookie->fetch;
|
||||
my $input = CGI->new;
|
||||
my $sessid = $cookies{'CGISESSID'}->value;
|
||||
my ($auth_status) = check_cookie_auth($sessid, $needed_flags);
|
||||
my ($auth_status) = check_cookie_auth($sessid, $needed_flags);
|
||||
if ($auth_status ne "ok") {
|
||||
output_with_http_headers $input, undef,
|
||||
"window.alert('Your CGI session cookie ($sessid) is not current. " .
|
||||
|
|
Loading…
Reference in a new issue