The pod is incorrect when stating how to set the authentication config.
This is a very simple change, but didn't want it to get lost.<br>
<br>
==================================================================<br>
--- CDBI.pm (revision 3845)<br>
+++ CDBI.pm (local)<br>
@@ -12,13 +12,13 @@<br>
=head1 SYNOPSIS<br>
<br>
use Catalyst 'Authentication::CDBI';<br>
- __PACKAGE__->config->{authentication} = (<br>
+ __PACKAGE__->config->{authentication} = {<br>
user_class
=> 'PetStore::Model::CDBI::Customer',<br>
user_field
=> 'email',<br>
role_class
=> 'PetStore::Model::CDBI::Role',<br>
user_role_class =>
'PetStore::Model::CDBI::CustomerRole',<br>
user_role_user_field => 'customer'<br>
- );<br>
+ };<br>
$c->login( $user, $password );<br>
$c->logout;<br>
$c->session_login( $user, $password );<br>
<br>-- <br>----------------------------------------------------------------<br>
Drew
Taylor
* Web development & consulting<br> Email: <a href="mailto:drew@drewtaylor.com">drew@drewtaylor.com</a> * Site implementation & hosting<br> Web : <a href="http://www.drewtaylor.com">www.drewtaylor.com</a> * perl/mod_perl/DBI/mysql/postgres
<br> ----------------------------------------------------------------