mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16562] Add password requirements to reset
Credits to thecoalman: https://www.phpbb.com/community/viewtopic.php?p=15560491#p15560491 PHPBB3-16562
This commit is contained in:
@@ -428,6 +428,7 @@ class reset_password
|
||||
'PASSWORD_RESET_ERRORS' => !empty($errors) ? array_map([$this->language, 'lang'], $errors) : '',
|
||||
'S_IS_PASSWORD_RESET' => true,
|
||||
'U_RESET_PASSWORD_ACTION' => $this->helper->route('phpbb_ucp_reset_password_controller'),
|
||||
'L_CHANGE_PASSWORD_EXPLAIN' => $this->language->lang($this->config['pass_complex'] . '_EXPLAIN', $this->language->lang('CHARACTERS', (int) $this->config['min_pass_chars'])),
|
||||
'S_HIDDEN_FIELDS' => build_hidden_fields([
|
||||
'u' => $user_id,
|
||||
'token' => $reset_token,
|
||||
|
Reference in New Issue
Block a user