From: Florian Ragwitz Date: Sun, 28 Mar 2010 21:46:49 +0000 (+0200) Subject: It's ->find_user($authinfo, $c), not ->find_user($c, $authinfo). X-Git-Tag: 0.02~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Authentication-Realm-Adaptor.git;a=commitdiff_plain;h=b6ee801bb7cbbffa10ddd3e0bb98fe3c90b45c9c It's ->find_user($authinfo, $c), not ->find_user($c, $authinfo). --- diff --git a/lib/Catalyst/Authentication/Realm/Adaptor.pm b/lib/Catalyst/Authentication/Realm/Adaptor.pm index d11b07f..ac40ce8 100644 --- a/lib/Catalyst/Authentication/Realm/Adaptor.pm +++ b/lib/Catalyst/Authentication/Realm/Adaptor.pm @@ -106,9 +106,9 @@ sub find_user { Catalyst::Exception->throw(__PACKAGE__ . " realm: " . $self->name . "'s store_adaptor is configured to use a code ref that doesn't exist"); } } - return $self->SUPER::find_user($c, $newauthinfo); + return $self->SUPER::find_user($newauthinfo, $c); } else { - return $self->SUPER::find_user($c, $authinfo); + return $self->SUPER::find_user($authinfo, $c); } }