mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-14 04:42:04 +02:00
Merge pull request #5558 from mrgoldy/ticket/16006
[ticket/16006] Create unique ID's for OAuth (un)linking
This commit is contained in:
commit
be86694305
@ -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,
|
||||
);
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- BEGIN oauth -->
|
||||
<form id="ucp" method="post" action="{S_UCP_ACTION}">
|
||||
<form id="ucp_oauth_{oauth.SERVICE_ID}" method="post" action="{S_UCP_ACTION}">
|
||||
<h3>{oauth.SERVICE_NAME}</h3>
|
||||
|
||||
<fieldset class="fields2">
|
||||
|
Loading…
x
Reference in New Issue
Block a user