projects
/
catagits/Catalyst-Plugin-Authentication.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make User::Hash->supports check less fatal
[catagits/Catalyst-Plugin-Authentication.git]
/
lib
/
Catalyst
/
Plugin
/
Authentication
/
User
/
Hash.pm
diff --git
a/lib/Catalyst/Plugin/Authentication/User/Hash.pm
b/lib/Catalyst/Plugin/Authentication/User/Hash.pm
index
fb3f543
..
962e91a
100644
(file)
--- a/
lib/Catalyst/Plugin/Authentication/User/Hash.pm
+++ b/
lib/Catalyst/Plugin/Authentication/User/Hash.pm
@@
-64,8
+64,7
@@
sub supports {
# traverse the feature list,
for (@spec) {
- die "bad feature spec: @spec"
- if ref($cursor) ne "HASH";
+ return if ref($cursor) ne "HASH";
$cursor = $cursor->{$_};
}