mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-16 00:08:53 +00:00
[feature/oauth] Fix language bug with new ACP OAuth template
PHPBB3-11673
This commit is contained in:
parent
32678f63ed
commit
2fc4be1a31
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base
|
||||||
{
|
{
|
||||||
$actual_name = str_replace('auth.provider.oauth.service.', '', $service_name);
|
$actual_name = str_replace('auth.provider.oauth.service.', '', $service_name);
|
||||||
$ret['TEMPLATE_VARS'][$actual_name] = array(
|
$ret['TEMPLATE_VARS'][$actual_name] = array(
|
||||||
'ACTUAL_NAME' => 'L_AUTH_PROVIDER_OAUTH_SERVICE_' . strtoupper($actual_name),
|
'ACTUAL_NAME' => $this->user->lang['AUTH_PROVIDER_OAUTH_SERVICE_' . strtoupper($actual_name)],
|
||||||
'KEY' => $new_config['auth_oauth_' . $actual_name . '_key'],
|
'KEY' => $new_config['auth_oauth_' . $actual_name . '_key'],
|
||||||
'NAME' => $actual_name,
|
'NAME' => $actual_name,
|
||||||
'SECRET' => $new_config['auth_oauth_' . $actual_name . '_secret'],
|
'SECRET' => $new_config['auth_oauth_' . $actual_name . '_secret'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue