mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/14465] Remove setting for maximum password length
PHPBB3-14465
This commit is contained in:
@@ -393,10 +393,10 @@ class reset_password
|
||||
];
|
||||
$check_data = [
|
||||
'new_password' => [
|
||||
['string', false, $this->config['min_pass_chars'], $this->config['max_pass_chars']],
|
||||
['string', false, $this->config['min_pass_chars'], 0],
|
||||
['password'],
|
||||
],
|
||||
'password_confirm' => ['string', true, $this->config['min_pass_chars'], $this->config['max_pass_chars']],
|
||||
'password_confirm' => ['string', true, $this->config['min_pass_chars'], 0],
|
||||
];
|
||||
$errors = array_merge($errors, validate_data($data, $check_data));
|
||||
if (strcmp($data['new_password'], $data['password_confirm']) !== 0)
|
||||
|
Reference in New Issue
Block a user