[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Authenticate after user creates an account


On Thu, 4 Jan 2007 23:29:37 -0500, Mark Rajcok wrote:

Hi Mark

> $q->param('authen_username',$q->param('username')); $q-
> >param('authen_password',$q->param('password')); $self-
> >_create_user;  # puts stuff in DB # -- authenticate/login user
> $self->authen->initialize;
> return $t->output  . $self->authen->initialize . ' user=' . $self-
> >authen->username } else {...  # update account ... } }

You call $self->authen->initialize twice. Is that causing a problem?
--
Cheers
Ron Savage, suppressed on 5/01/2007
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company


---------------------------------------------------------------------
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.