Fix bug, patch from Anthony Gladdish on mailing list
[catagits/Catalyst-Authentication-Store-DBIx-Class.git] / t / lib / Catalyst / Authentication / Store / Person.pm
CommitLineData
9db54bcf 1package Catalyst::Authentication::Store::Person;
2
3use strict;
4use warnings;
5use base qw/Catalyst::Authentication::Store::DBIx::Class/;
6
7our $VERSION= "0.01";
8
9sub new {
10 my ( $class, $config, $app ) = @_;
11 $config->{user_class} = 'TestApp::User';
12 $config->{store_user_class} = 'Catalyst::Authentication::Store::Person::User';
13 $config->{role_relation} = 'role';
14 $config->{role_field} = 'role';
15
16 return $class->SUPER::new( $config, $app );
17}
18
19__PACKAGE__;
20
21__END__