aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/captcha.yml
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/config/captcha.yml')
-rw-r--r--phpBB/config/captcha.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/phpBB/config/captcha.yml b/phpBB/config/captcha.yml
new file mode 100644
index 0000000000..527dba2257
--- /dev/null
+++ b/phpBB/config/captcha.yml
@@ -0,0 +1,43 @@
+services:
+ captchas.factory:
+ class: phpbb\captcha\factory
+ arguments:
+ - @service_container
+ - @captchas.plugins.service_collection
+
+ captchas.plugins.service_collection:
+ class: phpbb\di\service_collection
+ arguments:
+ - @service_container
+ tags:
+ - { name: service_collection, tag: captchas.plugins }
+
+ core.captcha.plugins.gd:
+ class: phpbb\captcha\plugins\gd
+ scope: prototype # scope MUST be prototype for this to work! # scope MUST be prototype for this to work!
+ tags:
+ - { name: captchas.plugins }
+
+ core.captcha.plugins.gd_wave:
+ class: phpbb\captcha\plugins\gd_wave
+ scope: prototype # scope MUST be prototype for this to work! # scope MUST be prototype for this to work!
+ tags:
+ - { name: captchas.plugins }
+
+ core.captcha.plugins.nogd:
+ class: phpbb\captcha\plugins\nogd
+ scope: prototype # scope MUST be prototype for this to work! # scope MUST be prototype for this to work!
+ tags:
+ - { name: captchas.plugins }
+
+ core.captcha.plugins.qa:
+ class: phpbb\captcha\plugins\qa
+ scope: prototype # scope MUST be prototype for this to work! # scope MUST be prototype for this to work!
+ tags:
+ - { name: captchas.plugins }
+
+ core.captcha.plugins.recaptcha:
+ class: phpbb\captcha\plugins\recaptcha
+ scope: prototype # scope MUST be prototype for this to work! # scope MUST be prototype for this to work!
+ tags:
+ - { name: captchas.plugins }