mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/15714] Auto login after registration
PHPBB3-15714
This commit is contained in:
parent
68c6670c8b
commit
548363d57d
1 changed files with 3 additions and 0 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Reference in a new issue