[Catalyst] forgotten logins

Wijnand Wiersma wijnand at nedbsd.nl
Sat Jan 28 11:10:07 CET 2006


Yuval Kogman wrote:
> $c->request->user is from the old auth plugins, and it's pretty
> sucky.
>
>   
Yeah, I tried several things, this is one of those attempts :-)
> Please use the new authentication framework, as discussed in
>
> 	http://catalyst.perl.org/calendar/2005/14
>
> The check for whether or not a user is logged in is now
>
> 	[% IF c.user_exists %]
> 		Hi, [% c.user.name %]
> 	[% ELSE %]
> 		login form ..
> 	[% END %]
>   
Well, doesn't seem to matter, every request after the login gives me the 
login form again.
I have some debugging to do ;-)

Wijnand




More information about the Catalyst mailing list