From: Stephan Jauernick Date: Fri, 22 Jan 2010 21:30:20 +0000 (+0000) Subject: Fixed RT Bug 47106; Code used the wrong Object to Retrieve authinfo_munge X-Git-Tag: v0.10016~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Authentication.git;a=commitdiff_plain;h=43e9b0b989cb7b7d1c4bca4d8baeb33f186d5ef7 Fixed RT Bug 47106; Code used the wrong Object to Retrieve authinfo_munge --- diff --git a/lib/Catalyst/Authentication/Realm/Progressive.pm b/lib/Catalyst/Authentication/Realm/Progressive.pm index f8664c1..726c424 100644 --- a/lib/Catalyst/Authentication/Realm/Progressive.pm +++ b/lib/Catalyst/Authentication/Realm/Progressive.pm @@ -132,7 +132,7 @@ sub authenticate { unless $realm; my $auth = { %$authinfo }; $auth->{realm} ||= $realm->name; - if ( my $info = $realm->config->{authinfo_munge}->{$realm->name} ) { + if ( my $info = $self->config->{authinfo_munge}->{$realm->name} ) { $auth = Catalyst::Utils::merge_hashes($auth, $info); } if ( my $obj = $realm->authenticate( $c, $auth ) ) {