Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
$shib = C4::Context->config('useshibboleth') || 0;
$caslogout = C4::Context->preference('casLogout');
require C4::Auth_with_cas; # no import
- require C4::Auth_with_shibboleth;
if ($ldap) {
require C4::Auth_with_ldap;
import C4::Auth_with_ldap qw(checkpw_ldap);
}
if ($shib) {
+ require C4::Auth_with_shibboleth;
import C4::Auth_with_shibboleth
qw(shib_ok checkpw_shib logout_shib login_shib_url get_login_shib);
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use strict;
-use warnings;
+use Modern::Perl;
use C4::Debug;
use C4::Context;
#!/usr/bin/perl
#
-# This Koha test module is a stub!
# Add more tests here!!!
use Modern::Perl;