Subject: | Bug2 in Authentication session of the tutorial? |
Date: | Thu, 15 May 2008 22:41:23 -0400 |
To: | bug-Catalyst-Manual [...] rt.cpan.org, hkclark [...] gmail.com |
From: | "Peter Hoose" <phoose [...] gmail.com> |
I also noticed that the sample code I have from svn differs from the code in
the Tutorial. The tutorial has:
lib/MyApp/Controller/Login.pm
if ($c->authenticate({ username => $username,
password => $password} )) {
# If successful, then let them use the application
While the source code has:
if ($c->login($username, $password)) {
# If sucessful, then let them use the application
The tutorial code did not work for me, but the source code did.
~P