{
$c->save_user_in_session($user);
}
+
+ $c->NEXT::set_authenticated( $user );
}
sub user {
my $c = shift->NEXT::prepare(@_);
if ( $c->isa("Catalyst::Plugin::Session")
- and $c->default_auth_store
and !$c->user )
{
if ( $c->sessionid and my $frozen_user = $c->session->{__user} ) {
=head1 NAME
-Catalyst::Plugin::Authentication -
+Catalyst::Plugin::Authentication - Infrastructure plugin for the Catalyst
+authentication framework.
=head1 SYNOPSIS
The authentication plugin is used by the various authentication and
authorization plugins in catalyst.
-It defines the notion of a logged in user, and provides integration with the
+It defines the notion of a logged in user, and provides integration with the
+L<Catalyst::Plugin::Session> plugin,
=head1 METHODS