auto login after registration?

18 years 4 weeks ago #8587 by tahitiblue
auto login after registration? was created by tahitiblue
Hi all,
I don't know if this has been posted before, I did a forum search and didn't find anything related to it.

Is there a way via configuration to have the system automatically log a user in after they supply registration information? I think I am more interested in ease of use then confirming their email credentials?

If it has to be done programmatically feel free to throw some pointers my way.

Tim

Please Log in to join the conversation.

17 years 7 months ago #20017 by Dehaw
Replied by Dehaw on topic Re:auto login after registration?
I changed line 1070 in comprofiler.php from

[code:1]echo $messagesToUser;[/code:1]

to

[code:1]$mainframe->login($user[0]->username,$user[0]->password);
#echo $messagesToUser;
echo 'You are now logged in!';[/code:1]

And it worked a treat!

Hope this helps

Derek

Post edited by: Dehaw, at: 2006/09/01 10:30

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.164 seconds

Facebook Twitter LinkedIn