[Catalyst] On authentication again
Chisel Wright
chisel at herlpacker.co.uk
Thu Mar 6 16:27:16 GMT 2008
On Thu, Mar 06, 2008 at 07:06:55PM +0300, Alex Povolotsky wrote:
> Hello!
>
> Maybe someone could provide the complete example of auth system with MODERN
> Catalyst::Plugin::Authentication?
>
> I mean, with database, Model and proper config.
I have _no idea_ if I'm using old, new or pre-historic authentication,
but this it want I cave in myapp.yml:
# authentiation settings; perldoc
# Catalyst::Plugin::Authentication::Store::DBIC
authentication:
dbic:
user_class: 'Parley::Model::ParleyDB::Authentication'
user_field: 'username'
password_field: 'password'
password_type: 'hashed'
password_hash_type: 'MD5'
--
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/
I'm demented in a good way!
More information about the Catalyst
mailing list