Bug 28367: (follow-up) Fix plack condition in C4/Auth_with_shibboleth.pm
There were 2 occurrences! Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commitecb0ff8bbe) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit69f55189d1) Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> (cherry picked from commit4579636290) Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
This commit is contained in:
parent
e914f9c12a
commit
25513fb7fb
|
|
@ -132,7 +132,7 @@ sub _autocreate {
|
|||
my %borrower = ( $config->{matchpoint} => $match );
|
||||
|
||||
while ( my ( $key, $entry ) = each %{$config->{'mapping'}} ) {
|
||||
if ( any { /(^psgi|^plack)/i } keys %ENV ) {
|
||||
if ( any { /(^psgi\.|^plack\.)/i } keys %ENV ) {
|
||||
$borrower{$key} = ( $entry->{'is'} && $ENV{"HTTP_" . uc($entry->{'is'}) } ) || $entry->{'content'} || '';
|
||||
} else {
|
||||
$borrower{$key} = ( $entry->{'is'} && $ENV{ $entry->{'is'} } ) || $entry->{'content'} || '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue