[Catalyst] backward compatibility problem with new C::P::Authentication (for info only)

Daniel McBrearty danielmcbrearty at gmail.com
Thu Dec 13 20:52:51 GMT 2007


that said, I seem to have trouble setting up my new config and getting
user_class sorted out:

authentication:
  default_realm: 'members'
  realms:
    members:
      credential:
        class: 'Password'
        password_field: 'password'
        password_type: 'crypted'
      store:
        class: 'DBIx::Class'
        user_class: 'Schema::Members'
        user_field: 'username'


this looks OK to me, comparing to the docs for C::P::Authentication,
but when I try to load I always get ...

You must provide a user_class at
/usr/local/share/perl/5.8.8/Catalyst.pm line 897

must be something very silly, but I don't see it ... ?



More information about the Catalyst mailing list