X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FAuthentication.pod;h=b670e67d083d02d34c0e1c0f2f99bf2f4769db96;hp=2e7016fe9d22344993b428b179e2afe3b23815e5;hb=c89d3e0c4c78f73590171d23236e3dc8557514f5;hpb=79a529cc16c64fa115eddce5ca038e2f41545ac8 diff --git a/lib/Catalyst/Manual/Tutorial/Authentication.pod b/lib/Catalyst/Manual/Tutorial/Authentication.pod index 2e7016f..b670e67 100644 --- a/lib/Catalyst/Manual/Tutorial/Authentication.pod +++ b/lib/Catalyst/Manual/Tutorial/Authentication.pod @@ -332,9 +332,6 @@ C file and update it to match: # 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 @@ -385,7 +382,7 @@ Then update it to match: 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 @@ C are new, everything else is the same): # 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 @@ -886,4 +880,4 @@ most recent version of the Catalyst Tutorial can be found at L. Copyright 2006-2008, Kennedy Clark, under Creative Commons License -(L). +(L).