On 2/6/06, Ulrike Schmidt <[EMAIL PROTECTED]> 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/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]