Skip Menu |

This queue is for tickets about the Catalyst-Manual CPAN distribution.

Report information
The Basics
Id: 35921
Status: resolved
Priority: 0/
Queue: Catalyst-Manual

People
Owner: ZARQUON [...] cpan.org
Requestors: phoose [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
The authentication api has changed since this was written. I have linked to a working example app using the new authentication in the latest release going to cpan shortly. Changeset at http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=7754