mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 20:13:22 +01:00
[feature/auth-refactor] Don't truncate name then reattach same thing
PHPBB3-9734
This commit is contained in:
parent
09372d765d
commit
b78b6711c8
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user