projects
/
catagits/Catalyst-Authentication-Credential-HTTP-Proxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bug fix for auth session restoration + Improvements to handling of default auth store
[catagits/Catalyst-Authentication-Credential-HTTP-Proxy.git]
/
lib
/
Catalyst
/
Plugin
/
Authentication
/
Credential
/
TypeKey.pm
diff --git
a/lib/Catalyst/Plugin/Authentication/Credential/TypeKey.pm
b/lib/Catalyst/Plugin/Authentication/Credential/TypeKey.pm
index
4d9df06
..
cbdfb5f
100644
(file)
--- a/
lib/Catalyst/Plugin/Authentication/Credential/TypeKey.pm
+++ b/
lib/Catalyst/Plugin/Authentication/Credential/TypeKey.pm
@@
-54,7
+54,7
@@
sub authenticate_typekey {
my $user;
- if ( my $store = $config->{auth_store} ) {
+ if ( my $store = $config->{auth_store} || $c->default_auth_store ) {
$store = $c->get_auth_store($store) unless ref $store;
$user = $store->get_user( $p, $res );
}