@@ -, +, @@ --- C4/Auth.pm | 1 - opac/opac-tags.pl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) --- a/C4/Auth.pm +++ a/C4/Auth.pm @@ -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, --- a/opac/opac-tags.pl +++ a/opac/opac-tags.pl @@ -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. " . --