mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-15 22:26:32 +02:00
[feature/auth-refactor] Fix indentation on acp_board
PHPBB3-9734
This commit is contained in:
@ -561,11 +561,9 @@ class acp_board
|
|||||||
if ($submit && (($cfg_array['auth_method'] != $this->new_config['auth_method']) || $updated_auth_settings))
|
if ($submit && (($cfg_array['auth_method'] != $this->new_config['auth_method']) || $updated_auth_settings))
|
||||||
{
|
{
|
||||||
$method = basename($cfg_array['auth_method']);
|
$method = basename($cfg_array['auth_method']);
|
||||||
if ($method)
|
if (array_key_exists('auth.provider.' . $method, $auth_providers))
|
||||||
{
|
{
|
||||||
$provider = $auth_providers['auth.provider.' . $method];
|
$provider = $auth_providers['auth.provider.' . $method];
|
||||||
if ($provider)
|
|
||||||
{
|
|
||||||
if ($error = $provider->init())
|
if ($error = $provider->init())
|
||||||
{
|
{
|
||||||
foreach ($old_auth_config as $config_name => $config_value)
|
foreach ($old_auth_config as $config_name => $config_value)
|
||||||
@ -574,7 +572,6 @@ class acp_board
|
|||||||
}
|
}
|
||||||
trigger_error($error . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($error . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
set_config('auth_method', basename($cfg_array['auth_method']));
|
set_config('auth_method', basename($cfg_array['auth_method']));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user