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

(-)a/C4/Auth_with_shibboleth.pm (-1 / +1 lines)
Lines 116-122 sub checkpw_shib { Link Here
116
sub _autocreate {
116
sub _autocreate {
117
    my ( $config, $match ) = @_;
117
    my ( $config, $match ) = @_;
118
118
119
    my %borrower = ( shibbolethMatchField => $match );
119
    my %borrower = ( $config->{matchpoint} => $match );
120
120
121
    while ( my ( $key, $entry ) = each %{$config->{'mapping'}} ) {
121
    while ( my ( $key, $entry ) = each %{$config->{'mapping'}} ) {
122
        $borrower{$key} = ( $entry->{'is'} && $ENV{ $entry->{'is'} } ) || $entry->{'content'} || '';
122
        $borrower{$key} = ( $entry->{'is'} && $ENV{ $entry->{'is'} } ) || $entry->{'content'} || '';
(-)a/t/Auth_with_shibboleth.t (-2 / +2 lines)
Lines 97-103 sub reset_config { Link Here
97
##############################################################
97
##############################################################
98
98
99
# Can module load
99
# Can module load
100
use_ok('C4::Auth_with_shibboleth');
100
use C4::Auth_with_shibboleth;
101
require_ok('C4::Auth_with_shibboleth');
101
$C4::Auth_with_shibboleth::debug = '0';
102
$C4::Auth_with_shibboleth::debug = '0';
102
103
103
# Subroutine tests
104
# Subroutine tests
104
- 

Return to bug 12026