1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 11:44:08 +02:00

Merge pull request #1515 from Hardolaf/feature/auth-refactor

[feature/auth-refactor] Use a base class for all authentication providers
This commit is contained in:
Nathan Guse
2013-07-12 12:51:35 -07:00
9 changed files with 155 additions and 84 deletions

View File

@@ -678,8 +678,12 @@ class acp_board
$auth_plugins = array();
$auth_providers = $phpbb_container->get('auth.provider_collection');
foreach($auth_providers as $key => $value)
foreach ($auth_providers as $key => $value)
{
if (!($value instanceof phpbb_auth_provider_interface))
{
continue;
}
$auth_plugins[] = str_replace('auth.provider.', '', $key);
}