Alex Povolotsky wrote:
> I even don't understand what __PACKAGE__->config-> I should use -
> {'Plugin::Authentication'}, {authentication}
> or{authentication}{dbic}.
> Docs are unclear.
>
Alex,
It should be {authentication}. Here's mine:
authentication:
default_realm: database
realms:
database:
credential:
class: Password
password_field: password
password_type: hashed
password_hash_type: SHA-1
store:
class: DBIx::Class
user_class: DB::Users
id_field: username
role_field: name
role_relation: roles
Hope that helps
Byron
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/