[Catalyst] Authentication - Tutorial

Nathan Gray kolibrie at graystudios.org
Mon Nov 13 15:00:16 GMT 2006


On Sat, Nov 11, 2006 at 06:55:52PM +0000, Anthony Gardner wrote:
> So, to cut a long story short .......... my .yml still isn't working at all.

Do you have the 'ConfigLoader' plugin listed in your 'use Catalyst'
line?

> I've made sure everything is indented with spaces, too.
> 
> Here it is  ....
> 
> ---
> name: BookShop
> authentication:
>   dbic:
>     user_class: BookShopDB::User
>     user_field: username
>     password_field: password

The yaml looks okay to me, but you can check it with something like
this:

  perl -MYAML -e 'YAML::LoadFile("your_filename_here.yml") ? print "ok\n" : print "failed\n"'

-kolibrie




More information about the Catalyst mailing list