View | Details | Raw Unified | Return to bug 27342
Collapse All | Expand All

(-)a/C4/Auth.pm (-2 / +1 lines)
Lines 823-829 sub checkauth { Link Here
823
    my $template_name   = shift;
823
    my $template_name   = shift;
824
    $type = 'opac' unless $type;
824
    $type = 'opac' unless $type;
825
825
826
    unless ( C4::Context->preference("OpacPublic") ) {
826
    if ( $type eq 'opac' && !C4::Context->preference("OpacPublic") ) {
827
        my @allowed_scripts_for_private_opac = qw(
827
        my @allowed_scripts_for_private_opac = qw(
828
          opac-memberentry.tt
828
          opac-memberentry.tt
829
          opac-registration-email-sent.tt
829
          opac-registration-email-sent.tt
830
- 

Return to bug 27342