A bit of clarification - logout does not delete the session.
[catagits/Catalyst-Plugin-Authentication.git] / lib / Catalyst / Plugin / Authentication.pm
index 08256fc..2ad4433 100644 (file)
@@ -308,7 +308,6 @@ sub _authentication_initialize {
             my $realmcfg = {
                 store => { class => $cfg->{'stores'}{$storename} },
             };
-            print STDERR "Foo, ok?\n";
             $app->setup_auth_realm($storename, $realmcfg);
         }
     }
@@ -756,8 +755,8 @@ changing your config:
                             },
                             store => {
                                 class => 'DBIx::Class',
-                                   user_class => 'MyApp::Users',
-                                   role_column => 'roles'      
+                                   user_model => 'MyApp::Users',
+                                   role_column => 'roles',
                                }
                        }
                     }
@@ -782,8 +781,8 @@ new source. The rest of your application is completely unchanged.
                         },
                         store => {
                             class => 'DBIx::Class',
-                           user_class => 'MyApp::Users',
-                           role_column => 'roles'      
+                           user_model => 'MyApp::Users',
+                           role_column => 'roles',
                        }
                        },
                        admins => {
@@ -880,7 +879,8 @@ logged in right now and was retrieved from the realm provided.
 
 =head2 $c->logout( )
 
-Logs the user out. Deletes the currently logged in user from C<< $c->user >> and the session.
+Logs the user out. Deletes the currently logged in user from C<< $c->user >>
+and the session.  It does not delete the session.
 
 =head2 $c->find_user( $userinfo, $realm )
 
@@ -1120,9 +1120,12 @@ Nigel Metheringham
 
 =head1 COPYRIGHT & LICENSE
 
-        Copyright (c) 2005 the aforementioned authors. All rights
-        reserved. This program is free software; you can redistribute
-        it and/or modify it under the same terms as Perl itself.
+Copyright (c) 2005 - 2009
+the Catalyst::Plugin::Authentication L</AUTHORS>
+as listed above.
+
+This program is free software; you can redistribute
+it and/or modify it under the same terms as Perl itself.
 
 =cut