mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
c2505ade2a
1 changed files with 1 additions and 5 deletions
|
@ -424,12 +424,8 @@ class reset_password
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($errors))
|
|
||||||
{
|
|
||||||
$this->template->assign_block_vars_array('PASSWORD_RESET_ERRORS', array_map([$this->language, 'lang'], $errors));
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->template->assign_vars([
|
$this->template->assign_vars([
|
||||||
|
'PASSWORD_RESET_ERRORS' => !empty($errors) ? array_map([$this->language, 'lang'], $errors) : '',
|
||||||
'S_IS_PASSWORD_RESET' => true,
|
'S_IS_PASSWORD_RESET' => true,
|
||||||
'U_RESET_PASSWORD_ACTION' => $this->helper->route('phpbb_ucp_reset_password_controller'),
|
'U_RESET_PASSWORD_ACTION' => $this->helper->route('phpbb_ucp_reset_password_controller'),
|
||||||
'S_HIDDEN_FIELDS' => build_hidden_fields([
|
'S_HIDDEN_FIELDS' => build_hidden_fields([
|
||||||
|
|
Loading…
Add table
Reference in a new issue