From: Yuval Kogman Date: Mon, 7 Nov 2005 20:32:38 +0000 (+0000) Subject: $c->request->user --> $c->request->{user} X-Git-Tag: v0.01~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6c983e53e0bdcf7cf8b5d4f1e53ad8601619a3e0;p=catagits%2FCatalyst-Plugin-Authentication.git $c->request->user --> $c->request->{user} --- diff --git a/lib/Catalyst/Plugin/Authentication.pm b/lib/Catalyst/Plugin/Authentication.pm index 5823c7f..38f2df0 100644 --- 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 } }