projects
/
catagits/Catalyst-Plugin-Authentication.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
$c->request->user --> $c->request->{user}
[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
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
}
}