diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql index 2da7f8ba33..d567d8296b 100644 --- a/phpBB/install/schemas/schema_data.sql +++ b/phpBB/install/schemas/schema_data.sql @@ -230,7 +230,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('min_search_author_ INSERT INTO phpbb_config (config_name, config_value) VALUES ('new_member_group_default', '0'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('new_member_post_limit', '3'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('override_user_style', '0'); -INSERT INTO phpbb_config (config_name, config_value) VALUES ('pass_complex', 'PASS_TYPE_ANY'); +INSERT INTO phpbb_config (config_name, config_value) VALUES ('pass_complex', 'PASS_TYPE_ALPHA'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('plupload_salt', 'phpbb_plupload'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('pm_edit_time', '0'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('pm_max_boxes', '4'); diff --git a/tests/functional/registration_test.php b/tests/functional/registration_test.php index 9b77feaa86..e47d8193b5 100644 --- a/tests/functional/registration_test.php +++ b/tests/functional/registration_test.php @@ -24,6 +24,7 @@ class phpbb_functional_registration_test extends phpbb_functional_test_case $crawler = self::request('GET', "adm/index.php?i=acp_board&mode=registration&sid={$this->sid}"); $form = $crawler->selectButton('Submit')->form(); $form['config[enable_confirm]']->setValue('0'); + $form['config[pass_complex]']->setValue('PASS_TYPE_ANY'); $crawler = self::submit($form); $this->assertContainsLang('CONFIG_UPDATED', $crawler->filter('#main .successbox')->text());