1
0
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:
Marc Alexander
2024-03-25 21:34:44 +01:00
parent 70d61a4e91
commit 12e9c3d082
15 changed files with 16 additions and 4215 deletions

View File

@@ -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(