1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/16006] Create unique ID's for OAuth (un)linking

PHPBB3-16006
This commit is contained in:
mrgoldy
2019-04-02 10:59:36 +02:00
parent 433803287a
commit af994e7a39
2 changed files with 2 additions and 1 deletions

View File

@@ -674,6 +674,7 @@ class oauth extends \phpbb\auth\provider\base
'oauth_service' => $actual_name,
),
'SERVICE_ID' => $actual_name,
'SERVICE_NAME' => $this->user->lang['AUTH_PROVIDER_OAUTH_SERVICE_' . strtoupper($actual_name)],
'UNIQUE_ID' => (isset($oauth_user_ids[$actual_name])) ? $oauth_user_ids[$actual_name] : null,
);