# directory
use Catalyst qw/
- -Debug
ConfigLoader
StackTrace
Static::Simple
+ Authentication
+ Session
+ Session::Store::FastMmap
+ Session::State::Cookie
+ Unicode::Encoding
/;
extends 'Catalyst';
# 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