1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-05 00:13:29 +02:00

Merge pull request #5826 from 3D-I/ticket/16308

[ticket/16308] Fix UCP reset password
This commit is contained in:
Marc Alexander 2020-01-11 16:49:04 +01:00
commit d25b55b93a
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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([
'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'),
'S_HIDDEN_FIELDS' => build_hidden_fields([