mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/auth-refactor] Fix indentation on acp_board
PHPBB3-9734
This commit is contained in:
parent
3c394aee62
commit
08614e2b85
1 changed files with 38 additions and 41 deletions
|
@ -561,11 +561,9 @@ class acp_board
|
|||
if ($submit && (($cfg_array['auth_method'] != $this->new_config['auth_method']) || $updated_auth_settings))
|
||||
{
|
||||
$method = basename($cfg_array['auth_method']);
|
||||
if ($method)
|
||||
if (array_key_exists('auth.provider.' . $method, $auth_providers))
|
||||
{
|
||||
$provider = $auth_providers['auth.provider.' . $method];
|
||||
if ($provider)
|
||||
{
|
||||
if ($error = $provider->init())
|
||||
{
|
||||
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);
|
||||
}
|
||||
}
|
||||
set_config('auth_method', basename($cfg_array['auth_method']));
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue