I found my own answer by looking at the source code for the MVC plugin.
So much for the book.
The login method expects two strings: a username and a password. Kudos
to the author who also made the method able to detect a username and
password based on best-guess, common sense logic of what they
You shouldn't be using the login method to begin with, you want authenticate.
Pay less attention to the book (which has very little to do with anything) and
more to the docs.
Andrew
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
On 2 Jun 2009, at 23:51, Tommy Butler wrote:
I found my own answer by looking at the source code for the MVC
plugin.
The MVC plugin? Huh? You mean the authentication plugin?
So much for the book.
Yeah, the book hasn't aged well, which is unfortunate.