X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FCookbook.pod;h=069f90944144d17f499153fea40c5c105cbd00d0;hp=27f7ecd01dafea3e013e696d7f176d4a3d423ee8;hb=71a04f2eed97c268a5b5187cca2420c7e32ab47c;hpb=97ed94664619ce0ee6ebe1457203449ca01abf0a 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');