X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=lib%2FChatty.pm;h=5b91943aace5c4fd8a2a6c3d0d4e234fa086c0d1;hp=ee849cc562506d645fa895806a53db72adf84935;hb=b1babc5fbdaf0cfe573d1a126b9a6d88deb64352;hpb=fc706a11d0c10569ef2edf3aa76a330d43f64d26 diff --git a/lib/Chatty.pm b/lib/Chatty.pm index ee849cc..5b91943 100644 --- a/lib/Chatty.pm +++ b/lib/Chatty.pm @@ -17,9 +17,14 @@ use Catalyst::Runtime 5.80; # directory use Catalyst qw/ - -Debug ConfigLoader + StackTrace Static::Simple + Authentication + Session + Session::Store::FastMmap + Session::State::Cookie + Unicode::Encoding /; extends 'Catalyst'; @@ -36,9 +41,19 @@ our $VERSION = '0.01'; # local deployment. __PACKAGE__->config( - name => 'Chatty', - # Disable deprecated behavior needed by old applications - disable_component_resolution_regex_fallback => 1, + name => 'Chatty', + # Disable deprecated behavior needed by old applications + disable_component_resolution_regex_fallback => 1, + 'Plugin::Authentication' => { + default => { + class => 'SimpleDB', + user_model => 'DB::Account', + password_type => 'clear', + }, + }, + 'Plugin::Session' => { + flash_to_stash => 1 + } ); # Start the application