projects
/
catagits/Catalyst-Plugin-Authentication.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
fd359a8
)
$c->request->user --> $c->request->{user}
Yuval Kogman [Mon, 7 Nov 2005 20:32:38 +0000 (20:32 +0000)]
lib/Catalyst/Plugin/Authentication.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Plugin/Authentication.pm
b/lib/Catalyst/Plugin/Authentication.pm
index
5823c7f
..
38f2df0
100644
(file)
--- a/
lib/Catalyst/Plugin/Authentication.pm
+++ b/
lib/Catalyst/Plugin/Authentication.pm
@@
-62,7
+62,7
@@
sub prepare {
{
if ( $c->sessionid and my $user = $c->session->{__user} ) {
$c->user( $c->session->{__user_class}->from_session( $c, $user ) );
- $c->request->user( $c->user );
+ $c->request->{user} = $c->user; # compatibility kludge
}
}