[Catalyst] Problem with authentication
Sean McAfee
eefacm at gmail.com
Wed Apr 22 17:05:28 GMT 2009
2009/4/22 Renee B=E4cker <mailinglisten at renee-baecker.de>
> Hi *,
>
> I want to use authentication in my catalyst app. The authentication
> seems to work, but I can't access any user information as $c->user is
> undefined.
>
> My code looks like this:
>
[...]
>
> my $result =3D $user and $pass and $c->authenticate({
> username =3D> $user,
> password =3D> $pass,
> });
>
I imagine you ought to be using "&&" instead of "and" here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090422/1b8e0=
515/attachment.htm
More information about the Catalyst
mailing list