X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAuthentication%2FStore%2FNull.pm;h=2664685c4ffe8aad34bb36cdd39282dfbd502952;hb=675fe850ff8ef284e35f9b78141543187df59d72;hp=7533d50a8c5062f7d85b9d0c81083a070158f5ae;hpb=5c5af3452cf4b03d7d55e20870942f1b600081b7;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/lib/Catalyst/Authentication/Store/Null.pm b/lib/Catalyst/Authentication/Store/Null.pm index 7533d50..2664685 100644 --- a/lib/Catalyst/Authentication/Store/Null.pm +++ b/lib/Catalyst/Authentication/Store/Null.pm @@ -17,12 +17,12 @@ sub new { } sub for_session { - my ( $self, $c, $user ) = @_; + my ( $self, $c, $user ) = @_; return $user; } sub from_session { - my ( $self, $c, $user ) = @_; + my ( $self, $c, $user ) = @_; return $user; } @@ -52,7 +52,7 @@ Catalyst::Authentication::Store::Null - Null authentication store Authentication ); - __PACKAGE__->config->{authentication} = { + __PACKAGE__->config( 'Plugin::Authentication' => { default_realm => 'remote', realms => { remote => { @@ -64,8 +64,8 @@ Catalyst::Authentication::Store::Null - Null authentication store class => 'Null', } } - } - }; + } + }); =head1 DESCRIPTION