in reply to Catalyst : Could not find authentication realm 'default'
Hi kulls
Can you show to us a little bit more of code?
Between, this is a normal mistake with Catalyst and DBIx:Class authenticate, take a look at manual <a href="http://search.cpan.org/~flora/Catalyst-Authentication-Store-DBIx-Class-0.1300/lib/Catalyst/Authentication/Store/DBIx/Class.pm>here
I think that you make a mistake at conf:
__PACKAGE__->config->{authentication} = { default_realm => 'members', realms => { members => { credential => { class => 'Password', password_field => 'password', password_type => 'clear' }, store => { class => 'DBIx::Class', user_model => 'MyApp::User', role_relation => 'roles', role_field => 'rolename', } } } };
Lindolfo 'Lorn' Rodrigues -http://lornlab.org -@lornlab - twitter
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Catalyst : Could not find authentication realm 'default'
by Anonymous Monk on Jun 25, 2010 at 13:10 UTC | |
by lorn (Monk) on Jun 25, 2010 at 17:15 UTC |