[Catalyst] 5.55 and forcing auth

Sebastian Riedel sri at oook.de
Tue Nov 15 18:00:43 CET 2005


Am 15.11.2005 um 16:52 schrieb Cory Watson:
> 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');
> 	}
> }

It's a bug and fixed in trunk, 5.56 will be released soon. ;)


--
sebastian




More information about the Catalyst mailing list