use strict;
use warnings;
+
use base qw/Class::Accessor::Fast/;
BEGIN {
$res = $self->store->auto_create($authinfo, $c);
}
} elsif ($self->config->{'auto_update'} && $self->store->can('auto_update')) {
- $res = $self->store->auto_update($authinfo, $c);
+ $res = $self->store->auto_update($authinfo, $c, $res);
}
return $res;
__PACKAGE__;
-__END__
\ No newline at end of file
+__END__
+
+=pod
+
+=head1 NAME
+
+Catalyst::Plugin::Authentication::Realm - Base class for realm objects.
+
+=head1 DESCRIPTION
+
+=head1 METHODS
+
+=over 4
+
+=item new
+
+=item find_user
+
+=item authenticate
+
+=item save_user_in_session
+
+=item from_session
+
+=back
+
+=cut
+
+