Lines 807-812
sub checkauth {
Link Here
|
807 |
my $type = shift; |
807 |
my $type = shift; |
808 |
my $emailaddress = shift; |
808 |
my $emailaddress = shift; |
809 |
my $template_name = shift; |
809 |
my $template_name = shift; |
|
|
810 |
my $params = shift; # 29915 |
810 |
$type = 'opac' unless $type; |
811 |
$type = 'opac' unless $type; |
811 |
|
812 |
|
812 |
unless ( C4::Context->preference("OpacPublic") ) { |
813 |
unless ( C4::Context->preference("OpacPublic") ) { |
Lines 1394-1400
sub checkauth {
Link Here
|
1394 |
'X-Frame-Options' => 'SAMEORIGIN' |
1395 |
'X-Frame-Options' => 'SAMEORIGIN' |
1395 |
} |
1396 |
} |
1396 |
), |
1397 |
), |
1397 |
$template->output; |
1398 |
$template->output unless $params->{skip_auth_template}; |
1398 |
safe_exit; |
1399 |
safe_exit; |
1399 |
} |
1400 |
} |
1400 |
|
1401 |
|
1401 |
- |
|
|