mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-26 05:06:12 +01:00
[feature/oauth] Update link_account to allow for two methods of linking
PHPBB3-11673
This commit is contained in:
@@ -73,6 +73,9 @@ class ucp_login_link
|
||||
// Give the user_id to the data
|
||||
$data['user_id'] = $login_result['user_row']['user_id'];
|
||||
|
||||
// Set the link_method to login_link
|
||||
$data['link_method'] = 'login_link';
|
||||
|
||||
// The user is now logged in, attempt to link the user to the external account
|
||||
$result = $auth_provider->link_account($data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user