]> Dogcows Code - chaz/chatty/blobdiff - lib/Chatty.pm
switch to FormHandler for validation
[chaz/chatty] / lib / Chatty.pm
index ee849cc562506d645fa895806a53db72adf84935..72353a7ff8c1ce3e0397d13640a6dd4258472993 100644 (file)
@@ -19,7 +19,12 @@ use Catalyst::Runtime 5.80;
 use Catalyst qw/
     -Debug
     ConfigLoader
+    StackTrace
     Static::Simple
+    Authentication
+    Session
+    Session::Store::FastMmap
+    Session::State::Cookie
 /;
 
 extends 'Catalyst';
@@ -41,6 +46,19 @@ __PACKAGE__->config(
     disable_component_resolution_regex_fallback => 1,
 );
 
+__PACKAGE__->config(
+       'Plugin::Authentication' => {
+               default => {
+                       class           => 'SimpleDB',
+                       user_model      => 'DB::Account',
+                       password_type   => 'clear',
+               },
+       },
+       'Plugin::Session' => {
+               flash_to_stash => 1
+       }
+);
+
 # Start the application
 __PACKAGE__->setup();
 
This page took 0.022903 seconds and 4 git commands to generate.