[Catalyst] $c->user->name is $c->user->id

Aaron Peterson lloyd.peterson at gmail.com
Sat Dec 31 03:22:34 CET 2005


On 12/30/05, Yuval Kogman <nothingmuch at woobling.org> wrote:
> On Sat, Dec 31, 2005 at 01:35:56 +0200, raptor wrote:
> > hi,
> >
> > it seems that $c->user->name is accessed as $c->user->id instead.(Authentication)
> > is it ?
>
> Please say what Authentication::Store plugin you're using, and how
> it's set up - $c->user could be anything =)

using Data::Dumper on the $c->user object will be instructive for
learning how to access it's properties.

Aaron



More information about the Catalyst mailing list