Thanks to all who answered my post regarding pass-through login! It put
me on the right track and it works like a charm now.
In my solution I have an action, Catalyst::Action::Restricted, which I
put on the subroutines which require a logged-in user
(:ActionClass('Restricted')). If no user is logged in, then the request
state is saved and the user forwarded to the login page.
I think it would be helpful to the next guy to improve the Cookbook with
a more elaborate example on how to implement this. The current paragraph
is a little thin, IMHO.
KR,
Gunnar
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/