projects
/
catagits/Catalyst-Plugin-Authentication.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Authentication: modify get_user to pass on extra args to the store
[catagits/Catalyst-Plugin-Authentication.git]
/
lib
/
Catalyst
/
Plugin
/
Authentication.pm
diff --git
a/lib/Catalyst/Plugin/Authentication.pm
b/lib/Catalyst/Plugin/Authentication.pm
index
ab25422
..
c1a05ce
100644
(file)
--- a/
lib/Catalyst/Plugin/Authentication.pm
+++ b/
lib/Catalyst/Plugin/Authentication.pm
@@
-85,10
+85,10
@@
sub logout {
}
sub get_user {
- my ( $c, $uid ) = @_;
+ my ( $c, $uid, @rest ) = @_;
if ( my $store = $c->default_auth_store ) {
- return $store->get_user($uid);
+ return $store->get_user( $uid, @rest );
}
else {
Catalyst::Exception->throw(