Re: Login during registration

2009-01-21 Thread Alastair Campbell
Thanks Bruno, Looks like out emails crossed in the ether! The error message didn't really help, it was failing at the auth stage, which doesn't help debugging. My colleague had to add debug code to Django auth to figure out the issue. I was just surprised that @login_required didn't check for i

Re: Login during registration

2009-01-21 Thread bruno desthuilliers
On 21 jan, 00:27, AlastairC wrote: > Hi everyone, > > I'm trying to create a registration process that includes membership > details and a paypal bit (for a non-profit org), and use the > registration app as the first step. > > However, I'd like to log people in when they 'activate' (click the >

Re: Login during registration

2009-01-21 Thread Alastair Campbell
To answer my own question... I got some help at work, and established that the login was failing because it is using the hashed password, not the raw one. That means that there is no way for me to use the activation stage to log the person in (apart from asking them for their details again). I ca

Login during registration

2009-01-20 Thread AlastairC
Hi everyone, I'm trying to create a registration process that includes membership details and a paypal bit (for a non-profit org), and use the registration app as the first step. However, I'd like to log people in when they 'activate' (click the link in the email and return to the site). I've go