Skip to content

Commit bb65b21

Browse files
authored
Merge pull request phpbb#6868 from Crizz0/ticket/17539
[ticket/17539] Changes default password complexity to PASS_TYPE_ALPHA
2 parents b5fb91f + 1a92461 commit bb65b21

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

phpBB/install/schemas/schema_data.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('min_search_author_
230230
INSERT INTO phpbb_config (config_name, config_value) VALUES ('new_member_group_default', '0');
231231
INSERT INTO phpbb_config (config_name, config_value) VALUES ('new_member_post_limit', '3');
232232
INSERT INTO phpbb_config (config_name, config_value) VALUES ('override_user_style', '0');
233-
INSERT INTO phpbb_config (config_name, config_value) VALUES ('pass_complex', 'PASS_TYPE_ANY');
233+
INSERT INTO phpbb_config (config_name, config_value) VALUES ('pass_complex', 'PASS_TYPE_ALPHA');
234234
INSERT INTO phpbb_config (config_name, config_value) VALUES ('plupload_salt', 'phpbb_plupload');
235235
INSERT INTO phpbb_config (config_name, config_value) VALUES ('pm_edit_time', '0');
236236
INSERT INTO phpbb_config (config_name, config_value) VALUES ('pm_max_boxes', '4');

tests/functional/registration_test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function test_disable_captcha_on_registration()
2424
$crawler = self::request('GET', "adm/index.php?i=acp_board&mode=registration&sid={$this->sid}");
2525
$form = $crawler->selectButton('Submit')->form();
2626
$form['config[enable_confirm]']->setValue('0');
27+
$form['config[pass_complex]']->setValue('PASS_TYPE_ANY');
2728
$crawler = self::submit($form);
2829

2930
$this->assertContainsLang('CONFIG_UPDATED', $crawler->filter('#main .successbox')->text());

0 commit comments

Comments
 (0)