[Catalyst-commits] r7061 - trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial

karpet at dev.catalyst.perl.org karpet at dev.catalyst.perl.org
Thu Oct 25 21:33:48 GMT 2007


Author: karpet
Date: 2007-10-25 21:33:48 +0100 (Thu, 25 Oct 2007)
New Revision: 7061

Modified:
   trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authentication.pod
Log:
method name changed from login() to authenticate()

Modified: trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authentication.pod
===================================================================
--- trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authentication.pod	2007-10-25 20:22:00 UTC (rev 7060)
+++ trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/Authentication.pod	2007-10-25 20:33:48 UTC (rev 7061)
@@ -447,7 +447,7 @@
         # If the username and password values were found in form
         if ($username && $password) {
             # Attempt to log the user in
-            if ($c->login($username, $password)) {
+            if ($c->authenticate($username, $password)) {
                 # If successful, then let them use the application
                 $c->response->redirect($c->uri_for('/books/list'));
                 return;




More information about the Catalyst-commits mailing list