[Catalyst-commits] r8428 -
trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial
jayk at dev.catalyst.perl.org
jayk at dev.catalyst.perl.org
Wed Sep 17 21:33:56 BST 2008
Author: jayk
Date: 2008-09-17 21:33:55 +0100 (Wed, 17 Sep 2008)
New Revision: 8428
Modified:
trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authentication.pod
trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authorization.pod
Log:
Removing invalid and confusing references to id_field
Modified: trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authentication.pod
===================================================================
--- trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authentication.pod 2008-09-17 16:10:27 UTC (rev 8427)
+++ trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authentication.pod 2008-09-17 20:33:55 UTC (rev 8428)
@@ -332,9 +332,6 @@
# NOTE: Omit 'MyApp::Model' here just as you would when using
# '$c->model("DB::Users)'
user_class DB::Users
- # This is the name of the field in your 'users' table that
- # contains the user's name
- id_field username
</store>
</dbic>
</realms>
@@ -385,7 +382,7 @@
if ($username && $password) {
# Attempt to log the user in
if ($c->authenticate({ username => $username,
- password => $password} )) {
+ password => $password } )) {
# If successful, then let them use the application
$c->response->redirect($c->uri_for('/books/list'));
return;
@@ -752,9 +749,6 @@
# NOTE: Omit 'MyApp::Model' here just as you would when using
# '$c->model("DB::Users)'
user_class DB::Users
- # This is the name of the field in your 'users' table that
- # contains the user's name
- id_field username
</store>
</dbic>
</realms>
Modified: trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authorization.pod
===================================================================
--- trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authorization.pod 2008-09-17 16:10:27 UTC (rev 8427)
+++ trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authorization.pod 2008-09-17 20:33:55 UTC (rev 8428)
@@ -125,9 +125,6 @@
# NOTE: Omit 'MyApp::Model' here just as you would when using
# '$c->model("DB::Users)'
user_class DB::Users
- # This is the name of the field in your 'users' table that
- # contains the user's name
- id_field username
# This is the name of a many_to_many relation in the users
# object that points to the roles for that user
role_relation roles
More information about the Catalyst-commits
mailing list