[Catalyst] HOWTO: extend the Authentication tutorial example and
redirect to original URI
Chisel Wright
chisel at herlpacker.co.uk
Thu Mar 29 17:51:17 GMT 2007
On Thu, Mar 29, 2007 at 09:40:56AM -0700, Jeff Chimene wrote:
> it looks like is_logged_in() is a routine you wrote?
Whoops, yes, nothing special, just a convenience:
sub is_logged_in {
my ($c) = @_;
if ($c->user) {
return 1;
}
return 0;
}
I think I did that to leave expansion room for other checks/evil in the
future
--
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/
AFK, tornado...
More information about the Catalyst
mailing list