@@ -, +, @@ * authnotrequired => 0 * authnotrequired => 1 * authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ) --- C4/Auth.pm | 1 + 1 file changed, 1 insertion(+) --- a/C4/Auth.pm +++ a/C4/Auth.pm @@ -793,6 +793,7 @@ sub checkauth { my $emailaddress = shift; $type = 'opac' unless $type; + $authnotrequired = 0 unless C4::Context->preference("OpacPublic"); my $dbh = C4::Context->dbh; my $timeout = _timeout_syspref(); --