projects
/
catagits/Catalyst-Authentication-Credential-HTTP-Proxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
e0a35f1
)
Bug fix for auth session restoration + Improvements to handling of default auth store
Yuval Kogman [Sat, 26 Nov 2005 03:16:56 +0000 (
03:16
+0000)]
lib/Catalyst/Plugin/Authentication/Credential/TypeKey.pm
patch
|
blob
|
blame
|
history
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 );
}