X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Authentication-Credential-HTTP-Proxy.git;a=blobdiff_plain;f=lib%2FCatalyst%2FPlugin%2FAuthentication%2FCredential%2FTypeKey.pm;h=afdc39a1e1d0a2292529fa52e2062cef0a9fbac2;hp=27255b3a8cbab8ea858d6eacb18ef09cd36410f6;hb=4332afab97ea8e5e0f92bad849d69c273fbc2086;hpb=8140cf335f936968acd96871cbc2c26b39e71d7f diff --git a/lib/Catalyst/Plugin/Authentication/Credential/TypeKey.pm b/lib/Catalyst/Plugin/Authentication/Credential/TypeKey.pm index 27255b3..afdc39a 100644 --- a/lib/Catalyst/Plugin/Authentication/Credential/TypeKey.pm +++ b/lib/Catalyst/Plugin/Authentication/Credential/TypeKey.pm @@ -73,7 +73,7 @@ sub authenticate_typekey { if ( !$user and my $store = $config->{auth_store} ) { $store = $c->get_auth_store($store) unless ref $store; - $user = $store->get_user( $p, $res ); + $user = $store->get_user( $res->{name}, $p, $res ); } if ( !$user ) { @@ -192,7 +192,7 @@ A store (or store name) to retrieve the user from. When a user is successfully authenticated it will call this: - $store->get_user( $parameters, $result_of_verify ); + $store->get_user( $name, $parameters, $result_of_verify ); Where C<$parameters> is a the hash reference passed to L, and C<$result_of_verify> is the value returned by