aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/oauth/oauth.php
diff options
context:
space:
mode:
authormrgoldy <gijsmartens1@gmail.com>2019-04-02 10:59:36 +0200
committermrgoldy <gijsmartens1@gmail.com>2019-04-02 10:59:36 +0200
commitaf994e7a390eea1125d63a6d0e2ef7b945549669 (patch)
tree6a47035e40feb8b38daa2c5df1cd7e684b925f8a /phpBB/phpbb/auth/provider/oauth/oauth.php
parent433803287ad3eccece6fd5f358fa8dab10516bc6 (diff)
downloadforums-af994e7a390eea1125d63a6d0e2ef7b945549669.tar
forums-af994e7a390eea1125d63a6d0e2ef7b945549669.tar.gz
forums-af994e7a390eea1125d63a6d0e2ef7b945549669.tar.bz2
forums-af994e7a390eea1125d63a6d0e2ef7b945549669.tar.xz
forums-af994e7a390eea1125d63a6d0e2ef7b945549669.zip
[ticket/16006] Create unique ID's for OAuth (un)linking
PHPBB3-16006
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/oauth.php')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/oauth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/oauth.php b/phpBB/phpbb/auth/provider/oauth/oauth.php
index 8809a0c6b4..3e9b424e8d 100644
--- a/phpBB/phpbb/auth/provider/oauth/oauth.php
+++ b/phpBB/phpbb/auth/provider/oauth/oauth.php
@@ -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,
);