@@ -, +, @@ checkauth --- C4/Auth.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/C4/Auth.pm +++ a/C4/Auth.pm @@ -807,6 +807,7 @@ sub checkauth { my $type = shift; my $emailaddress = shift; my $template_name = shift; + my $params = shift; # 29915 $type = 'opac' unless $type; unless ( C4::Context->preference("OpacPublic") ) { @@ -1394,7 +1395,7 @@ sub checkauth { 'X-Frame-Options' => 'SAMEORIGIN' } ), - $template->output; + $template->output unless $params->{skip_auth_template}; safe_exit; } --