fixed typo in Auth::Cred::Passwd example
Matt S Trout [Thu, 8 Jun 2006 14:38:12 +0000 (14:38 +0000)]
r9184@cain (orig r4243):  zarquon | 2006-05-30 21:09:49 +0000

lib/Catalyst/Manual/Cookbook.pod

index 27f7ecd..069f909 100644 (file)
@@ -703,7 +703,7 @@ in your Catalyst application, then make the following changes:
       if( $c->login(
         $c->request->param('username'),
         $c->request->param('password'),
-        );
+        ) {
 
         # if login() returns 1, user is now logged in
         $c->response->redirect('/some/page');