[Catalyst] 5.55 and forcing auth

Cory Watson jheephat at gmail.com
Tue Nov 15 16:52:39 CET 2005


After updating to 5.55 today (from a much older version, whatever was  
stable before 5.5) my app suddenly started misbehaving.

The documentation recommends using a begin action that looks  
something like:

sub begin : Private {
	my ($self, $c) = @_;

	# whatever you want to test for...
	unless($c->session()->{'account_id'}) {
		$c->req->action(undef);
		$c->detach('/account/login');
	}
}

My account/login action simply sets the template.  Catalyst reports  
having done the following:

-> account/login
/account/address/add
-> Foo::V::TT->process
/end

IIRC, this all worked correctly before I updated.  Did something  
change that I am not catching?

Cory 'G' Watson
http://www.onemogin.com





More information about the Catalyst mailing list