projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed typo in Auth::Cred::Passwd example
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Manual
/
Cookbook.pod
diff --git
a/lib/Catalyst/Manual/Cookbook.pod
b/lib/Catalyst/Manual/Cookbook.pod
index
27f7ecd
..
069f909
100644
(file)
--- 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');