Swap tabs for space
[catagits/Catalyst-Plugin-Authentication.git] / lib / Catalyst / Authentication / Store / Null.pm
index 90dbf74..2664685 100644 (file)
@@ -8,21 +8,21 @@ use Catalyst::Authentication::User::Hash;
 use base qw( Class::Accessor::Fast );
 
 BEGIN {
-    __PACKAGE__->mk_accessors( qw( __config ) );
+    __PACKAGE__->mk_accessors( qw( _config ) );
 }
 
 sub new {
     my ( $class, $config, $app, $realm ) = @_;
-    bless { __config => $config }, $class;
+    bless { _config => $config }, $class;
 }
 
 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->{'Plugin::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