mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
[ticket/12960] Remove broken captchas and prepare for incomplete captcha
PHPBB3-12960
This commit is contained in:
@@ -62,14 +62,14 @@ class phpbb_functions_user_delete_test extends phpbb_database_test_case
|
||||
$passwords_manager = new \phpbb\passwords\manager($config, $passwords_drivers, $passwords_helper, array_keys($passwords_drivers));
|
||||
|
||||
$plugins = new \phpbb\di\service_collection($phpbb_container);
|
||||
$plugins->add('core.captcha.plugins.nogd');
|
||||
$plugins->add('core.captcha.plugins.qa');
|
||||
$phpbb_container->set(
|
||||
'captcha.factory',
|
||||
new \phpbb\captcha\factory($phpbb_container, $plugins)
|
||||
);
|
||||
$phpbb_container->set(
|
||||
'core.captcha.plugins.nogd',
|
||||
new \phpbb\captcha\plugins\nogd()
|
||||
'core.captcha.plugins.qa',
|
||||
new \phpbb\captcha\plugins\qa('', '', '')
|
||||
);
|
||||
// Set up passwords manager
|
||||
$db_auth_provider = new \phpbb\auth\provider\db(
|
||||
|
Reference in New Issue
Block a user