From: Yuval Kogman Date: Wed, 18 Jan 2006 11:39:27 +0000 (+0000) Subject: Fudge supported_features in Htpasswd::User, and fix handling in the base class X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=236564816ea52eb35739705f88f058b332090fae;p=catagits%2FCatalyst-Plugin-Authentication.git Fudge supported_features in Htpasswd::User, and fix handling in the base class --- diff --git a/lib/Catalyst/Plugin/Authentication/User.pm b/lib/Catalyst/Plugin/Authentication/User.pm index a008c2f..9fb90eb 100644 --- a/lib/Catalyst/Plugin/Authentication/User.pm +++ b/lib/Catalyst/Plugin/Authentication/User.pm @@ -16,7 +16,8 @@ sub supports { # traverse the feature list, for (@spec) { - die "bad feature spec: @spec" if ref($cursor) ne "HASH"; + #die "bad feature spec: @spec" if ref($cursor) ne "HASH"; + return if ref($cursor) ne "HASH"; $cursor = $cursor->{$_}; }