projects
/
catagits/Catalyst-Manual.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
RT #62095: persistent message on /login
[catagits/Catalyst-Manual.git]
/
lib
/
Catalyst
/
Manual
/
Tutorial
/
05_Authentication.pod
diff --git
a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod
b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod
index
d8d13ca
..
1ef68d3
100644
(file)
--- a/
lib/Catalyst/Manual/Tutorial/05_Authentication.pod
+++ b/
lib/Catalyst/Manual/Tutorial/05_Authentication.pod
@@
-374,7
+374,8
@@
and update the definition of C<sub index> to match:
}
} else {
# Set an error message
- $c->stash(error_msg => "Empty username or password.");
+ $c->stash(error_msg => "Empty username or password.")
+ unless ($c->user_exists);
}
# If either of above don't work out, send to the login page