[Catalyst] Login problem with Cat5

Michael Reece mreece at sacbee.com
Tue Apr 19 01:21:14 CEST 2005


Can you clarify what you mean here?

http://search.cpan.org/~sri/Catalyst-5.02/lib/Catalyst/Manual/Cookbook.pod#A
uthentication_with_Catalyst::Plugin::Authentication::CDBI

Doesn't mention this problem ..

Are you saying that I should not define any action subs in MyApp, but always
put them in a controller, for fear that any action might interfere with any
method defined in any plugin?

On 4/18/05 4:05 PM, "Sebastian Riedel" <sri at oook.de> wrote:

> 
> Am 19.04.2005 um 00:47 schrieb Michael Reece:
>> The problem is when C::P::A::CDBI session_login calls
>>     $c->login( $user, $password );
>> it invokes the sub login on MyApp, rather than the sub login in
>> C::P::A::CDBI.
>> 
>> Is there a way around this, short of changing the action to do_login?
>> 
> 
> Thats why we have controllers...
> 
> --
> sebastian





More information about the Catalyst mailing list