[Catalyst] Newbie question - $c->login is missing
Jason Kohles
email at jasonkohles.com
Tue Dec 4 14:03:19 GMT 2007
On Dec 4, 2007, at 8:40 AM, Martin Ellison wrote:
> I am getting this message
> [error] Caught exception in myapp::Controller::User->loginuser
> "Can't locate object method "login" via package "myapp"
> at ...Controller/User.pm line 41."
>
> My application class loads the following plugins: -Debug
> ConfigLoader Static::Simple StackTrace Session Session::State
> Session::Store Session::Store::File Session::State::Cookie
> Authentication Authentication::Store::DBIC Authorization::Roles.
>
> I thought I had everything set up according to the tutorial.
>
> Does anyone know what I should be doing? I thought one of these
> plugins would provide the 'login' method for me.
>
You need a credential plugin, probably
Catalyst::Plugin::Authentication::Credential::Password.
--
Jason Kohles, RHCA RHCDS RHCE
email at jasonkohles.com - http://www.jasonkohles.com/
"A witty saying proves nothing." -- Voltaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20071204/0fed1367/attachment.htm
More information about the Catalyst
mailing list