@@ -, +, @@ --- C4/Auth_with_shibboleth.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/C4/Auth_with_shibboleth.pm +++ a/C4/Auth_with_shibboleth.pm @@ -108,7 +108,7 @@ sub checkpw_shib { return _autocreate( $config, $match ); } else { # If we reach this point, the user is not a valid koha user - $debug and warn "User $userid is not a valid Koha user"; + $debug and warn "User with $config->{matchpoint} of $match is not a valid Koha user"; return 0; } } @@ -116,7 +116,7 @@ sub checkpw_shib { sub _autocreate { my ( $config, $match ) = @_; - my %borrower = ( $shibbolethMatchField => $match ); + my %borrower = ( shibbolethMatchField => $match ); while ( my ( $key, $entry ) = each %{$config->{'mapping'}} ) { $borrower{$key} = ( $entry->{'is'} && $ENV{ $entry->{'is'} } ) || $entry->{'content'} || ''; --