[Catalyst] Authentication

Denis denis at uzvik.kiev.ua
Tue Dec 6 00:42:12 CET 2005


Hi ppl,
I try use Authentication ,as described at http://dev.catalyst.perl.org/wiki/BestPractices

When I add this line:
__PACKAGE__->deny_access_unless( "/", sub { $_[1]->user } );
I get error:
Insufficient Arguments : You must specify a path at (...)

So question is: how to add to deny_access_unless to all components,
because "/" is incorrect ?

Thanks!




More information about the Catalyst mailing list