From: Matt S Trout Date: Thu, 8 Jun 2006 14:38:12 +0000 (+0000) Subject: fixed typo in Auth::Cred::Passwd example X-Git-Tag: 5.7099_04~532 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=71a04f2eed97c268a5b5187cca2420c7e32ab47c;hp=97ed94664619ce0ee6ebe1457203449ca01abf0a fixed typo in Auth::Cred::Passwd example r9184@cain (orig r4243): zarquon | 2006-05-30 21:09:49 +0000 --- diff --git a/lib/Catalyst/Manual/Cookbook.pod b/lib/Catalyst/Manual/Cookbook.pod index 27f7ecd..069f909 100644 --- a/lib/Catalyst/Manual/Cookbook.pod +++ b/lib/Catalyst/Manual/Cookbook.pod @@ -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');