aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/ucp/controller/reset_password.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-08-26 18:14:39 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-08-26 18:14:39 +0200
commit454ea081f17c0dfb9eb75287698a301e5c5d275b (patch)
tree4b5b80506f5b06c4c0841c12dcde73b2580b3c9b /phpBB/phpbb/ucp/controller/reset_password.php
parent7a3e351178fde9d8b785867868fb40cbae4c8ab2 (diff)
downloadforums-454ea081f17c0dfb9eb75287698a301e5c5d275b.tar
forums-454ea081f17c0dfb9eb75287698a301e5c5d275b.tar.gz
forums-454ea081f17c0dfb9eb75287698a301e5c5d275b.tar.bz2
forums-454ea081f17c0dfb9eb75287698a301e5c5d275b.tar.xz
forums-454ea081f17c0dfb9eb75287698a301e5c5d275b.zip
[ticket/11327] Use U_ prefix for reset password URL template variable
PHPBB3-11327
Diffstat (limited to 'phpBB/phpbb/ucp/controller/reset_password.php')
-rw-r--r--phpBB/phpbb/ucp/controller/reset_password.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/phpBB/phpbb/ucp/controller/reset_password.php b/phpBB/phpbb/ucp/controller/reset_password.php
index 82b9083175..9d736b26b8 100644
--- a/phpBB/phpbb/ucp/controller/reset_password.php
+++ b/phpBB/phpbb/ucp/controller/reset_password.php
@@ -275,9 +275,9 @@ class reset_password
}
$this->template->assign_vars([
- 'USERNAME' => $username,
- 'EMAIL' => $email,
- 'S_PROFILE_ACTION' => $this->helper->route('phpbb_ucp_forgot_password_controller'),
+ 'USERNAME' => $username,
+ 'EMAIL' => $email,
+ 'U_RESET_PASSWORD_ACTION' => $this->helper->route('phpbb_ucp_forgot_password_controller'),
]);
return $this->helper->render('ucp_reset_password.html', $this->language->lang('RESET_PASSWORD'));
@@ -421,10 +421,10 @@ class reset_password
}
$this->template->assign_vars([
- 'S_IS_PASSWORD_RESET' => true,
- 'ERROR' => !empty($errors) ? implode('<br />', array_map([$this->language, 'lang'], $errors)) : '',
- 'S_PROFILE_ACTION' => $this->helper->route('phpbb_ucp_reset_password_controller'),
- 'S_HIDDEN_FIELDS' => build_hidden_fields([
+ 'S_IS_PASSWORD_RESET' => true,
+ 'ERROR' => !empty($errors) ? implode('<br />', array_map([$this->language, 'lang'], $errors)) : '',
+ 'U_RESET_PASSWORD_ACTION' => $this->helper->route('phpbb_ucp_reset_password_controller'),
+ 'S_HIDDEN_FIELDS' => build_hidden_fields([
'u' => $user_id,
'token' => $reset_token,
]),