Written by Comkid
Have you seen Login After Register? Well, is it annoying that it only works if there is no activation? Well, now, I present to you, Login After Activation, which now allows members to login after they have activated with the activation link.
Open: includes/ucp/ucp_activate.php
Find:
Code: Select all
}
if ($config['require_activation'] == USER_ACTIVATION_ADMIN && !$update_password)
Code: Select all
$old_session_id = $user->session_id;
$result = $user->session_create($user_row['user_id'], 0, 1, 1);