Change example configs to fit in with recent DBIC store
Tomas Doran [Wed, 14 Oct 2009 00:30:11 +0000 (00:30 +0000)]
lib/Catalyst/Authentication/Realm/Progressive.pm
lib/Catalyst/Plugin/Authentication.pm

index 9eef535..915cd64 100644 (file)
@@ -54,7 +54,7 @@ the normal realm.
                 },
                 store => {
                     class      => 'DBIx::Class',
-                    user_class => 'Schema::Person::Identity',
+                    user_model => 'Schema::Person::Identity',
                     id_field   => 'id',
                 }
             },
@@ -67,7 +67,7 @@ the normal realm.
                 },
                 store => {
                     class    => 'DBIx::Class',
-                    user_class => 'Schema::Person::Identity',
+                    user_model => 'Schema::Person::Identity',
                     id_field   => 'id',
                 }
             },
index 08256fc..2914db5 100644 (file)
@@ -756,8 +756,8 @@ changing your config:
                             },
                             store => {
                                 class => 'DBIx::Class',
-                                   user_class => 'MyApp::Users',
-                                   role_column => 'roles'      
+                                   user_model => 'MyApp::Users',
+                                   role_column => 'roles',
                                }
                        }
                     }
@@ -782,8 +782,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 => {