On 2/6/06, Ulrike Schmidt <suppressed> wrote:
> Webprob->authen->config(
> DRIVER => [ 'Generic', \%users ],
> STORE => ['Cookie',
> SECRET => "psst",
> ],
> POST_LOGIN_RUNMODE => 'welcome'
> );
>
> Webprob->authen->protected_runmodes(@protected);
>
> sub setup {
> my $self = shift;
> $self->start_mode('welcome');
> $self->run_modes( %rm );
> }
Does it work if you move that call to protected_runmodes into your setup sub?
sub setup {
my $self = shift;
$self->start_mode('welcome');
$self->run_modes( %rm );
$self->authen->protected_runmodes(@protected);
}
Cheers,
Cees
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.