1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 04:23:38 +01:00

[feature/auth-refactor] Don't truncate name then reattach same thing

PHPBB3-9734
This commit is contained in:
Joseph Warner 2013-06-25 22:14:39 -04:00
parent 09372d765d
commit b78b6711c8

View File

@ -527,7 +527,7 @@ class acp_board
foreach($auth_providers as $key => $value) foreach($auth_providers as $key => $value)
{ {
$auth_plugins[] = str_replace('auth.provider.', '', $key); $auth_plugins[] = $key;
} }
$updated_auth_settings = false; $updated_auth_settings = false;
@ -536,7 +536,7 @@ class acp_board
{ {
if ($method) if ($method)
{ {
$provider = $auth_providers['auth.provider.' . $method]; $provider = $auth_providers[$method];
if ($provider) if ($provider)
{ {
if ($fields = $provider->acp($this->new_config)) if ($fields = $provider->acp($this->new_config))
@ -575,7 +575,7 @@ class acp_board
$method = basename($cfg_array['auth_method']); $method = basename($cfg_array['auth_method']);
if ($method) if ($method)
{ {
$provider = $auth_providers['auth.provider.' . $method]; $provider = $auth_providers[$method];
if ($provider) if ($provider)
{ {
if ($error = $provider->init()) if ($error = $provider->init())
@ -673,7 +673,7 @@ class acp_board
{ {
if ($method) if ($method)
{ {
$provider = $auth_providers['auth.provider.' . $method]; $provider = $auth_providers[$method];
if ($provider) if ($provider)
{ {
$fields = $provider->acp($this->new_config); $fields = $provider->acp($this->new_config);