push @xml_config_warnings, { error => 'zebra_auth_index_mode_is_grs1' };
}
-if ( (C4::Context->config('zebra_auth_index_mode') eq 'dom') && ($context->{'server'}->{'authorityserver'}->{'config'} !~ /zebra-authorities-dom.cfg/) ) {
+if( ( C4::Context->config('zebra_auth_index_mode')
+ and C4::Context->config('zebra_auth_index_mode') eq 'dom' )
+ && ( $context->{'server'}->{'authorityserver'}->{'config'} !~ /zebra-authorities-dom.cfg/ ) )
+{
push @xml_config_warnings, {
error => 'zebra_auth_index_mode_mismatch_warn'
};
}
}
+{
+ # Test 'bcrypt_settings' config for Pseudonymization
+ $template->param( config_bcrypt_settings_no_set => 1 )
+ if C4::Context->preference('Pseudonymization')
+ and not C4::Context->config('bcrypt_settings');
+}
+
my %versions = C4::Context::get_versions();
$template->param(
current => ($pm_type eq 'current_pm' ? 1 : 0),
require => $stats->{'required'},
reqversion => $stats->{'min_ver'},
- maxversion => $stats->{'max_ver'}
+ maxversion => $stats->{'max_ver'},
+ excversion => $stats->{'exc_ver'}
}
);
}