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

raptor raptor at tvskat.net
Sat Dec 31 17:49:25 CET 2005


|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 =)

]-   Authentication Authentication::Store::Minimal Authentication::Credential::Password
Isnt it supposed $c->user to be username ? or at least the structrure to
be exact no matter what the Store is ?



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

]- yes, i'm using it , that how I found it is "id"



More information about the Catalyst mailing list