1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-03 15:29:12 +01:00

[ticket/15714] Auto login after registration

PHPBB3-15714
This commit is contained in:
Rubén Calvo 2018-06-29 01:34:02 +02:00 committed by Marc Alexander
parent ec04f177d0
commit 7dae1fe48c
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -451,6 +451,9 @@ class ucp_register
{
$message = $user->lang['ACCOUNT_ADDED'];
$email_template = 'user_welcome';
// Autologin after registration
$user->session_create($user_id, 0, false, 1);
}
if ($config['email_enable'])