Unsure this is a sane renaming, but makes auth work with 5.80 sans CDI hacks. Committ...
[catagits/Catalyst-Plugin-Authentication.git] / lib / Catalyst / Authentication / Store / Null.pm
index 7533d50..90dbf74 100644 (file)
@@ -8,12 +8,12 @@ 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 {
@@ -52,7 +52,7 @@ Catalyst::Authentication::Store::Null - Null authentication store
         Authentication
     );
 
-    __PACKAGE__->config->{authentication} = {
+    __PACKAGE__->config->{'Plugin::Authentication'} = {
         default_realm => 'remote',
         realms => {
             remote => {