Forum

Questions and discussions

Automatic Login after Signup

Report any problems or bugs

Automatic Login after Signup

Postby soxin » Fri Aug 13, 2010 7:14 am

Hello,

if you Signup (with admin options Activation enabled, Activation by user or Activation by admin) the user is after Signup minimal automatic login.

Look at this: http://screencast.com/t/ZTI4OGIy

I think the problem can be fix, if in the
####members/thanks.php
Code: Select all
<?if($_GET["activation"]=="user"){?>
<p><b>Hello<?echo $_SESSION["login"];?> </b><br><br>Thank you for Signup. <br>We send you a Email to:  <b><?echo $_SESSION["email"];?></b>
<br><br>Please confirm the Email to finish your signup</p>
<?}?>


change to something like this with a session_destroy():

Code: Select all
<?if($_GET["activation"]=="user"){?>
<p><b>Hello<?echo $_SESSION["login"];?> </b><br><br>Thank you for Signup. <br>We send you a Email to:  <b><?echo $_SESSION["email"];?></b>
<br><br>Please confirm the Email to finish your signup</p>
<?session_destroy();?>
<?}?>
Sorry for my english :)
soxin
 
Posts: 66
Joined: Mon Mar 22, 2010 2:28 pm
Location: Germany

Return to Bugs & Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

cron
  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.