aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-05-31 22:43:07 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-06-01 21:31:06 +0200
commit6f5f0d6d8d5d3afcabccaa9da7c64108af5d4ab7 (patch)
tree3cd8ff3ae639535b97f99f203bc77b8c074ba115 /phpBB/config
parent306beab4cba155a933391c40c75f5dd9c57fd69e (diff)
downloadforums-6f5f0d6d8d5d3afcabccaa9da7c64108af5d4ab7.tar
forums-6f5f0d6d8d5d3afcabccaa9da7c64108af5d4ab7.tar.gz
forums-6f5f0d6d8d5d3afcabccaa9da7c64108af5d4ab7.tar.bz2
forums-6f5f0d6d8d5d3afcabccaa9da7c64108af5d4ab7.tar.xz
forums-6f5f0d6d8d5d3afcabccaa9da7c64108af5d4ab7.zip
[ticket/12352] Use custom provider collection for auth providers
Using this custom provider collection, we can properly check whether the configured auth provider does exist. The method get_provider() has been added for returning the default auth provider or the standard db auth provider if the specified one does not exist. Additionally, the method get_provider() will throw an RuntimeException if none of the above exist. PHPBB3-12352
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/auth_providers.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/config/auth_providers.yml b/phpBB/config/auth_providers.yml
index dac8b9d252..d2f22ec477 100644
--- a/phpBB/config/auth_providers.yml
+++ b/phpBB/config/auth_providers.yml
@@ -1,8 +1,9 @@
services:
auth.provider_collection:
- class: phpbb\di\service_collection
+ class: phpbb\auth\provider_collection
arguments:
- @service_container
+ - @config
tags:
- { name: service_collection, tag: auth.provider }
auth.provider.db: