X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstemmaweb.pm;h=b20063591153cfd53c544bc8c1f4fb26b94fab4a;hb=83ed666569d439bcb163fa96cee456c17c82e823;hp=cc91f529e4c545854bc384da059b00312b4b9514;hpb=b1d9ab02c0b3c923596ebae9d3e2e4c45397c8f7;p=scpubgit%2Fstemmaweb.git diff --git a/lib/stemmaweb.pm b/lib/stemmaweb.pm index cc91f52..b200635 100644 --- a/lib/stemmaweb.pm +++ b/lib/stemmaweb.pm @@ -33,6 +33,8 @@ use Catalyst qw/ extends 'Catalyst'; +use stemmaweb::Authentication::FormHandler; + our $VERSION = '0.01'; # Configure the application. @@ -61,7 +63,6 @@ __PACKAGE__->config( }, ## kiokudb auth store testing 'Plugin::Authentication' => { - form_handler => '+stemmaweb::Authentication::FormHandler', default => { credential => { class => 'Password', @@ -107,6 +108,7 @@ __PACKAGE__->config( }, ## Auth with CatalystX::Controller::Auth 'Controller::Users' => { + form_handler => 'stemmaweb::Authentication::FormHandler', model => 'User', login_id_field => 'username', login_db_field => 'username',