X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=lib%2FNDWeb.pm;h=85bbf831de6fd811d83c6d571e07e635e8900e79;hb=49c23244b1ba61909b726bb9189665a33027a1af;hp=2dbab22e755946756581e26838f19abec9883b4f;hpb=8250eb360c341a4eeaa76e5e3fc0f57cf0014a60;p=ndwebbie.git diff --git a/lib/NDWeb.pm b/lib/NDWeb.pm index 2dbab22..85bbf83 100644 --- a/lib/NDWeb.pm +++ b/lib/NDWeb.pm @@ -27,10 +27,27 @@ our $VERSION = '0.01'; # local deployment. __PACKAGE__->config( name => 'NDWeb' ); +__PACKAGE__->config->{'Plugin::Authentication'}{'use_session'} = 1; + -# Start the application -__PACKAGE__->setup(qw/-Debug ConfigLoader Static::Simple/); +# Start the application +__PACKAGE__->setup(qw/ + -Debug + ConfigLoader + Static::Simple + + Authentication + Authentication::Store::NDWeb + Authentication::Credential::Password + + Authorization::Roles + Authorization::ACL + + Session + Session::Store::File + Session::State::Cookie + /); =head1 NAME